You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -874,8 +874,8 @@ in the same order they were defined as part of the processor definition.
874
874
| `field` | yes | - | The field to get the date from.
875
875
| `target_field` | no | @timestamp | The field that will hold the parsed date.
876
876
| `formats` | yes | - | An array of the expected date formats. Can be a Joda pattern or one of the following formats: ISO8601, UNIX, UNIX_MS, or TAI64N.
877
-
| `timezone` | no | UTC | The timezone to use when parsing the date.
878
-
| `locale` | no | ENGLISH | The locale to use when parsing the date, relevant when parsing month names or week days.
877
+
| `timezone` | no | UTC | The timezone to use when parsing the date. Supports <<accessing-template-fields,template snippets>>.
878
+
| `locale` | no | ENGLISH | The locale to use when parsing the date, relevant when parsing month names or week days. Supports <<accessing-template-fields,template snippets>>.
879
879
|======
880
880
881
881
Here is an example that adds the parsed date to the `timestamp` field based on the `initial_date` field:
@@ -913,8 +913,8 @@ the timezone and locale values.
913
913
"field" : "initial_date",
914
914
"target_field" : "timestamp",
915
915
"formats" : ["ISO8601"],
916
-
"timezone" : "{{my_timezone}}",
917
-
"locale" : "{{my_locale}}"
916
+
"timezone" : "{{my_timezone}}",
917
+
"locale" : "{{my_locale}}"
918
918
}
919
919
}
920
920
]
@@ -1059,12 +1059,12 @@ understands this to mean `2016-04-01` as is explained in the <<date-math-index-n
1059
1059
|======
1060
1060
| Name | Required | Default | Description
1061
1061
| `field` | yes | - | The field to get the date or timestamp from.
1062
-
| `index_name_prefix` | no | - | A prefix of the index name to be prepended before the printed date.
1063
-
| `date_rounding` | yes | - | How to round the date when formatting the date into the index name. Valid values are: `y` (year), `M` (month), `w` (week), `d` (day), `h` (hour), `m` (minute) and `s` (second).
1062
+
| `index_name_prefix` | no | - | A prefix of the index name to be prepended before the printed date. Supports <<accessing-template-fields,template snippets>>.
1063
+
| `date_rounding` | yes | - | How to round the date when formatting the date into the index name. Valid values are: `y` (year), `M` (month), `w` (week), `d` (day), `h` (hour), `m` (minute) and `s` (second). Supports <<accessing-template-fields,template snippets>>.
1064
1064
| `date_formats` | no | yyyy-MM-dd'T'HH:mm:ss.SSSZ | An array of the expected date formats for parsing dates / timestamps in the document being preprocessed. Can be a Joda pattern or one of the following formats: ISO8601, UNIX, UNIX_MS, or TAI64N.
1065
1065
| `timezone` | no | UTC | The timezone to use when parsing the date and when date math index supports resolves expressions into concrete index names.
1066
1066
| `locale` | no | ENGLISH | The locale to use when parsing the date from the document being preprocessed, relevant when parsing month names or week days.
1067
-
| `index_name_format` | no | yyyy-MM-dd | The format to be used when printing the parsed date into the index name. An valid Joda pattern is expected here.
1067
+
| `index_name_format` | no | yyyy-MM-dd | The format to be used when printing the parsed date into the index name. An valid Joda pattern is expected here. Supports <<accessing-template-fields,template snippets>>.
1068
1068
|======
1069
1069
1070
1070
[[dissect-processor]]
@@ -1405,14 +1405,15 @@ to the requester.
1405
1405
[options="header"]
1406
1406
|======
1407
1407
| Name | Required | Default | Description
1408
-
| `message` | yes | - | The error message of the `FailException` thrown by the processor
1408
+
| `message` | yes | - | The error message thrown by the processor. Supports <<accessing-template-fields,template snippets>>.
@@ -2282,18 +2283,18 @@ its value will be replaced with the provided one.
2282
2283
.Set Options
2283
2284
[options="header"]
2284
2285
|======
2285
-
| Name | Required | Default | Description
2286
-
| `field` | yes | - | The field to insert, upsert, or update
2287
-
| `value` | yes | - | The value to be set for the field
2288
-
| `override`| no | true | If processor will update fields with pre-existing non-null-valued field. When set to `false`, such fields will not be touched.
2286
+
| Name | Required | Default | Description
2287
+
| `field` | yes | - | The field to insert, upsert, or update. Supports <<accessing-template-fields,template snippets>>.
2288
+
| `value` | yes | - | The value to be set for the field. Supports <<accessing-template-fields,template snippets>>.
2289
+
| `override`| no | true | If processor will update fields with pre-existing non-null-valued field. When set to `false`, such fields will not be touched.
0 commit comments