Class CommunityIDProcessor
java.lang.Object
co.elastic.clients.elasticsearch.ingest.ProcessorBase
co.elastic.clients.elasticsearch.ingest.CommunityIDProcessor
- All Implemented Interfaces:
ProcessorVariant
,JsonpSerializable
@JsonpDeserializable
public class CommunityIDProcessor
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<CommunityIDProcessor>
Json deserializer forCommunityIDProcessor
-
Method Summary
Modifier and TypeMethodDescriptionProcessor variant kind.final String
Field containing the destination IP address.final String
Field containing the destination port.final String
Field containing the IANA number.final String
icmpCode()
Field containing the ICMP code.final String
icmpType()
Field containing the ICMP type.final Boolean
If true and any required fields are missing, the processor quietly exits without modifying the document.static CommunityIDProcessor
final Integer
seed()
Seed for the community ID hash.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
final String
sourceIp()
Field containing the source IP address.final String
Field containing the source port.final String
Output field for the community ID.final String
Field containing the transport protocol name or number.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 forCommunityIDProcessor
-
-
Method Details
-
of
public static CommunityIDProcessor of(Function<CommunityIDProcessor.Builder, ObjectBuilder<CommunityIDProcessor>> fn) -
_processorKind
Processor variant kind.- Specified by:
_processorKind
in interfaceProcessorVariant
-
sourceIp
Field containing the source IP address.API name:
source_ip
-
sourcePort
Field containing the source port.API name:
source_port
-
destinationIp
Field containing the destination IP address.API name:
destination_ip
-
destinationPort
Field containing the destination port.API name:
destination_port
-
ianaNumber
Field containing the IANA number.API name:
iana_number
-
icmpType
Field containing the ICMP type.API name:
icmp_type
-
icmpCode
Field containing the ICMP code.API name:
icmp_code
-
transport
Field containing the transport protocol name or number. Used only when the iana_number field is not present. The following protocol names are currently supported: eigrp, gre, icmp, icmpv6, igmp, ipv6-icmp, ospf, pim, sctp, tcp, udpAPI name:
transport
-
targetField
Output field for the community ID.API name:
target_field
-
seed
Seed for the community ID hash. Must be between 0 and 65535 (inclusive). The seed can prevent hash collisions between network domains, such as a staging and production network that use the same addressing scheme.API name:
seed
-
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
-
setupCommunityIDProcessorDeserializer
protected static void setupCommunityIDProcessorDeserializer(ObjectDeserializer<CommunityIDProcessor.Builder> op)
-