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 StringField containing the destination IP address.final StringField containing the destination port.final StringField containing the IANA number.final StringicmpCode()Field containing the ICMP code.final StringicmpType()Field containing the ICMP type.final BooleanIf true and any required fields are missing, the processor quietly exits without modifying the document.static CommunityIDProcessorfinal Integerseed()Seed for the community ID hash.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal StringsourceIp()Field containing the source IP address.final StringField containing the source port.final StringOutput field for the community ID.final StringField containing the transport protocol name or number.Methods inherited from class co.elastic.clients.elasticsearch.ingest.ProcessorBase
description, if_, ignoreFailure, onFailure, serialize, setupProcessorBaseDeserializer, tag, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
_processorKindin 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:
serializeInternalin classProcessorBase
-
setupCommunityIDProcessorDeserializer
protected static void setupCommunityIDProcessorDeserializer(ObjectDeserializer<CommunityIDProcessor.Builder> op)
-