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:
  • Field Details

  • Method Details

    • of

    • _processorKind

      public Processor.Kind _processorKind()
      Processor variant kind.
      Specified by:
      _processorKind in interface ProcessorVariant
    • sourceIp

      @Nullable public final String sourceIp()
      Field containing the source IP address.

      API name: source_ip

    • sourcePort

      @Nullable public final String sourcePort()
      Field containing the source port.

      API name: source_port

    • destinationIp

      @Nullable public final String destinationIp()
      Field containing the destination IP address.

      API name: destination_ip

    • destinationPort

      @Nullable public final String destinationPort()
      Field containing the destination port.

      API name: destination_port

    • ianaNumber

      @Nullable public final String ianaNumber()
      Field containing the IANA number.

      API name: iana_number

    • icmpType

      @Nullable public final String icmpType()
      Field containing the ICMP type.

      API name: icmp_type

    • icmpCode

      @Nullable public final String icmpCode()
      Field containing the ICMP code.

      API name: icmp_code

    • transport

      @Nullable public final String 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, udp

      API name: transport

    • targetField

      @Nullable public final String targetField()
      Output field for the community ID.

      API name: target_field

    • seed

      @Nullable public final Integer 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

      @Nullable public final Boolean ignoreMissing()
      If true and any required fields are missing, the processor quietly exits without modifying the document.

      API name: ignore_missing

    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Overrides:
      serializeInternal in class ProcessorBase
    • setupCommunityIDProcessorDeserializer

      protected static void setupCommunityIDProcessorDeserializer(ObjectDeserializer<CommunityIDProcessor.Builder> op)