Search Results for

    Show / Hide Table of Contents

    Class KeyValueProcessor

    Processor to automatically parse messages (or specific event fields) which are of the key=value variety.

    Inheritance
    object
    ProcessorBase
    KeyValueProcessor
    Implements
    IKeyValueProcessor
    IProcessor
    Inherited Members
    ProcessorBase.If
    ProcessorBase.Tag
    ProcessorBase.IgnoreFailure
    ProcessorBase.OnFailure
    ProcessorBase.Description
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public class KeyValueProcessor : ProcessorBase, IKeyValueProcessor, IProcessor

    Properties

    | Edit this page View Source

    ExcludeKeys

    List of keys to exclude from document

    Declaration
    public IEnumerable<string> ExcludeKeys { get; set; }
    Property Value
    Type Description
    IEnumerable<string>
    | Edit this page View Source

    Field

    The field to be parsed

    Declaration
    public Field Field { get; set; }
    Property Value
    Type Description
    Field
    | Edit this page View Source

    FieldSplit

    Regex pattern to use for splitting key-value pairs

    Declaration
    public string FieldSplit { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    IgnoreMissing

    If true and Field does not exist or is null, the processor quietly exits without modifying the document

    Declaration
    public bool? IgnoreMissing { get; set; }
    Property Value
    Type Description
    bool?
    | Edit this page View Source

    IncludeKeys

    List of keys to filter and insert into document. Defaults to including all keys

    Declaration
    public IEnumerable<string> IncludeKeys { get; set; }
    Property Value
    Type Description
    IEnumerable<string>
    | Edit this page View Source

    Name

    Declaration
    protected override string Name { get; }
    Property Value
    Type Description
    string
    Overrides
    ProcessorBase.Name
    | Edit this page View Source

    Prefix

    Prefix to be added to extracted keys

    Declaration
    public string Prefix { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    StripBrackets

    If true strip brackets (), <>, [] as well as quotes ' and " from extracted values

    Declaration
    public bool? StripBrackets { get; set; }
    Property Value
    Type Description
    bool?
    | Edit this page View Source

    TargetField

    The field to insert the extracted keys into. Defaults to the root of the document

    Declaration
    public Field TargetField { get; set; }
    Property Value
    Type Description
    Field
    | Edit this page View Source

    TrimKey

    String of characters to trim from extracted keys

    Declaration
    public string TrimKey { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    TrimValue

    String of characters to trim from extracted values

    Declaration
    public string TrimValue { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    ValueSplit

    Regex pattern to use for splitting the key from the value within a key-value pair

    Declaration
    public string ValueSplit { get; set; }
    Property Value
    Type Description
    string

    Implements

    IKeyValueProcessor
    IProcessor

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • ExcludeKeys
      • Field
      • FieldSplit
      • IgnoreMissing
      • IncludeKeys
      • Name
      • Prefix
      • StripBrackets
      • TargetField
      • TrimKey
      • TrimValue
      • ValueSplit
    • Implements
    • Extension Methods
    Back to top Generated by DocFX