Class GrokProcessor
java.lang.Object
co.elastic.clients.elasticsearch.ingest.ProcessorBase
co.elastic.clients.elasticsearch.ingest.GrokProcessor
- All Implemented Interfaces:
- ProcessorVariant,- JsonpSerializable
- See Also:
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch.ingest.ProcessorBaseProcessorBase.AbstractBuilder<BuilderT extends ProcessorBase.AbstractBuilder<BuilderT>>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GrokProcessor>Json deserializer forGrokProcessor
- 
Method SummaryModifier and TypeMethodDescriptionProcessor variant kind.final StringMust be disabled or v1.final Stringfield()Required - The field to use for grok expression parsing.final BooleanIftrueandfielddoes not exist or isnull, the processor quietly exits without modifying the document.static GrokProcessorA map of pattern-name and pattern tuples defining custom patterns to be used by the current processor.patterns()Required - An ordered list of grok expression to match and extract named captures with.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal BooleanWhentrue,_ingest._grok_match_indexwill be inserted into your matched document’s metadata with the index into the pattern found inpatternsthat matched.Methods inherited from class co.elastic.clients.elasticsearch.ingest.ProcessorBasedescription, if_, ignoreFailure, onFailure, serialize, setupProcessorBaseDeserializer, tag, toStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch.ingest.ProcessorVariant_toProcessor
- 
Field Details- 
_DESERIALIZERJson deserializer forGrokProcessor
 
- 
- 
Method Details- 
of
- 
_processorKindProcessor variant kind.- Specified by:
- _processorKindin interface- ProcessorVariant
 
- 
ecsCompatibilityMust be disabled or v1. If v1, the processor uses patterns with Elastic Common Schema (ECS) field names.API name: ecs_compatibility
- 
fieldRequired - The field to use for grok expression parsing.API name: field
- 
ignoreMissingIftrueandfielddoes not exist or isnull, the processor quietly exits without modifying the document.API name: ignore_missing
- 
patternDefinitionsA map of pattern-name and pattern tuples defining custom patterns to be used by the current processor. Patterns matching existing names will override the pre-existing definition.API name: pattern_definitions
- 
patternsRequired - An ordered list of grok expression to match and extract named captures with. Returns on the first expression in the list that matches.API name: patterns
- 
traceMatchWhentrue,_ingest._grok_match_indexwill be inserted into your matched document’s metadata with the index into the pattern found inpatternsthat matched.API name: trace_match
- 
serializeInternal- Overrides:
- serializeInternalin class- ProcessorBase
 
- 
setupGrokProcessorDeserializer
 
-