Interface IGrokProcessor
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface IGrokProcessor : IProcessor
Properties
| Edit this page View SourceField
The field to use for grok expression parsing
Declaration
[DataMember(Name = "field")]
Field Field { get; set; }
Property Value
Type | Description |
---|---|
Field |
IgnoreMissing
If true
and Field does not exist or is null,
the processor quietly exits without modifying the document. Default is false
Declaration
[DataMember(Name = "ignore_missing")]
bool? IgnoreMissing { get; set; }
Property Value
Type | Description |
---|---|
bool? |
PatternDefinitions
A 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.
Declaration
[DataMember(Name = "pattern_definitions")]
IDictionary<string, string> PatternDefinitions { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
Patterns
An ordered list of grok expression to match and extract named captures with. Returns on the first expression in the list that matches.
Declaration
[DataMember(Name = "patterns")]
IEnumerable<string> Patterns { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<string> |
TraceMatch
when true
, _ingest._grok_match_index will be inserted into your matched document’s
metadata with the index into the pattern found in patterns that matched.
Declaration
[DataMember(Name = "trace_match")]
bool? TraceMatch { get; set; }
Property Value
Type | Description |
---|---|
bool? |