Class NetworkDirectionProcessor
java.lang.Object
co.elastic.clients.elasticsearch.ingest.ProcessorBase
co.elastic.clients.elasticsearch.ingest.NetworkDirectionProcessor
- All Implemented Interfaces:
ProcessorVariant
,JsonpSerializable
@JsonpDeserializable
public class NetworkDirectionProcessor
extends ProcessorBase
implements ProcessorVariant
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch.ingest.ProcessorBase
ProcessorBase.AbstractBuilder<BuilderT extends ProcessorBase.AbstractBuilder<BuilderT>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<NetworkDirectionProcessor>
Json deserializer forNetworkDirectionProcessor
-
Method Summary
Modifier and TypeMethodDescriptionProcessor variant kind.final String
Field containing the destination IP address.final Boolean
If true and any required fields are missing, the processor quietly exits without modifying the document.List of internal networks.final String
A field on the given document to read the internal_networks configuration from.static NetworkDirectionProcessor
protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
setupNetworkDirectionProcessorDeserializer
(ObjectDeserializer<NetworkDirectionProcessor.Builder> op) final String
sourceIp()
Field containing the source IP address.final String
Output field for the network direction.Methods inherited from class co.elastic.clients.elasticsearch.ingest.ProcessorBase
description, if_, ignoreFailure, onFailure, serialize, setupProcessorBaseDeserializer, tag, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface co.elastic.clients.elasticsearch.ingest.ProcessorVariant
_toProcessor
-
Field Details
-
_DESERIALIZER
Json deserializer forNetworkDirectionProcessor
-
-
Method Details
-
of
public static NetworkDirectionProcessor of(Function<NetworkDirectionProcessor.Builder, ObjectBuilder<NetworkDirectionProcessor>> fn) -
_processorKind
Processor variant kind.- Specified by:
_processorKind
in interfaceProcessorVariant
-
sourceIp
Field containing the source IP address.API name:
source_ip
-
destinationIp
Field containing the destination IP address.API name:
destination_ip
-
targetField
Output field for the network direction.API name:
target_field
-
internalNetworks
List of internal networks. Supports IPv4 and IPv6 addresses and ranges in CIDR notation. Also supports the named ranges listed below. These may be constructed with template snippets. Must specify only one of internal_networks or internal_networks_field.API name:
internal_networks
-
internalNetworksField
A field on the given document to read the internal_networks configuration from.API name:
internal_networks_field
-
ignoreMissing
If true and any required fields are missing, the processor quietly exits without modifying the document.API name:
ignore_missing
-
serializeInternal
- Overrides:
serializeInternal
in classProcessorBase
-
setupNetworkDirectionProcessorDeserializer
protected static void setupNetworkDirectionProcessorDeserializer(ObjectDeserializer<NetworkDirectionProcessor.Builder> op)
-