Search Results for

    Show / Hide Table of Contents

    Interface IDateProcessor

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

    Properties

    | Edit this page View Source

    Field

    The field to get the date from.

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

    Formats

    An array of the expected date formats. Can be a Joda pattern or one of the following formats: ISO8601, UNIX, UNIX_MS, or TAI64N.

    Declaration
    [DataMember(Name = "formats")]
    IEnumerable<string> Formats { get; set; }
    Property Value
    Type Description
    IEnumerable<string>
    | Edit this page View Source

    Locale

    The locale to use when parsing the date, relevant when parsing month names or week days. Supports template snippets.

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

    TargetField

    The field that will hold the parsed date. Defaults to @timestamp

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

    TimeZone

    The timezone to use when parsing the date. Supports template snippets.

    Declaration
    [DataMember(Name = "timezone")]
    string TimeZone { get; set; }
    Property Value
    Type Description
    string

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • Field
      • Formats
      • Locale
      • TargetField
      • TimeZone
    • Extension Methods
    Back to top Generated by DocFX