Class DateProcessor
Inheritance
DateProcessor
Assembly: OpenSearch.Client.dll
Syntax
public class DateProcessor : ProcessorBase, IDateProcessor, IProcessor
Properties
|
Edit this page
View Source
Field
The field to get the date from.
Declaration
public Field Field { get; set; }
Property Value
|
Edit this page
View Source
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
public IEnumerable<string> Formats { get; set; }
Property Value
|
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
public string Locale { get; set; }
Property Value
|
Edit this page
View Source
Name
Declaration
protected override string Name { get; }
Property Value
Overrides
|
Edit this page
View Source
TargetField
The field that will hold the parsed date. Defaults to @timestamp
Declaration
public Field TargetField { get; set; }
Property Value
|
Edit this page
View Source
TimeZone
The timezone to use when parsing the date. Supports template snippets.
Declaration
public string TimeZone { get; set; }
Property Value
Implements
Extension Methods