Search Results for

    Show / Hide Table of Contents

    Interface IGrokProcessor

    Inherited Members
    IProcessor.Name
    IProcessor.Description
    IProcessor.OnFailure
    IProcessor.If
    IProcessor.Tag
    IProcessor.IgnoreFailure
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public interface IGrokProcessor : IProcessor

    Properties

    | Edit this page View Source

    Field

    The field to use for grok expression parsing

    Declaration
    [DataMember(Name = "field")]
    Field Field { get; set; }
    Property Value
    Type Description
    Field
    | Edit this page View Source

    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?
    | Edit this page View Source

    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>
    | Edit this page View Source

    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>
    | Edit this page View Source

    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?

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • Field
      • IgnoreMissing
      • PatternDefinitions
      • Patterns
      • TraceMatch
    • Extension Methods
    Back to top Generated by DocFX