Interface IDateProcessor
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface IDateProcessor : IProcessor
Properties
| Edit this page View SourceField
The field to get the date from.
Declaration
[DataMember(Name = "field")]
Field Field { get; set; }
Property Value
Type | Description |
---|---|
Field |
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> |
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 |
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 |
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 |