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
@@ -856,8 +856,8 @@ in the same order they were defined as part of the processor definition.
856
856
| `field` | yes | - | The field to get the date from.
857
857
| `target_field` | no | @timestamp | The field that will hold the parsed date.
858
858
| `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.
859
-
| `timezone` | no | UTC | The timezone to use when parsing the date.
860
-
| `locale` | no | ENGLISH | The locale to use when parsing the date, relevant when parsing month names or week days.
859
+
| `timezone` | no | UTC | The timezone to use when parsing the date. Supports <<accessing-template-fields,template snippets>>.
860
+
| `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>>.
861
861
|======
862
862
863
863
Here is an example that adds the parsed date to the `timestamp` field based on the `initial_date` field:
@@ -895,8 +895,8 @@ the timezone and locale values.
895
895
"field" : "initial_date",
896
896
"target_field" : "timestamp",
897
897
"formats" : ["ISO8601"],
898
-
"timezone" : "{{my_timezone}}",
899
-
"locale" : "{{my_locale}}"
898
+
"timezone" : "{{my_timezone}}",
899
+
"locale" : "{{my_locale}}"
900
900
}
901
901
}
902
902
]
@@ -1041,12 +1041,12 @@ understands this to mean `2016-04-01` as is explained in the <<date-math-index-n
1041
1041
|======
1042
1042
| Name | Required | Default | Description
1043
1043
| `field` | yes | - | The field to get the date or timestamp from.
1044
-
| `index_name_prefix` | no | - | A prefix of the index name to be prepended before the printed date.
1045
-
| `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).
1044
+
| `index_name_prefix` | no | - | A prefix of the index name to be prepended before the printed date. Supports <<accessing-template-fields,template snippets>>.
1045
+
| `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>>.
1046
1046
| `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.
1047
1047
| `timezone` | no | UTC | The timezone to use when parsing the date and when date math index supports resolves expressions into concrete index names.
1048
1048
| `locale` | no | ENGLISH | The locale to use when parsing the date from the document being preprocessed, relevant when parsing month names or week days.
1049
-
| `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.
1049
+
| `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>>.
1050
1050
|======
1051
1051
1052
1052
[[dissect-processor]]
@@ -1372,14 +1372,15 @@ to the requester.
1372
1372
[options="header"]
1373
1373
|======
1374
1374
| Name | Required | Default | Description
1375
-
| `message` | yes | - | The error message of the `FailException` thrown by the processor
1375
+
| `message` | yes | - | The error message thrown by the processor. Supports <<accessing-template-fields,template snippets>>.
@@ -2249,18 +2250,18 @@ its value will be replaced with the provided one.
2249
2250
.Set Options
2250
2251
[options="header"]
2251
2252
|======
2252
-
| Name | Required | Default | Description
2253
-
| `field` | yes | - | The field to insert, upsert, or update
2254
-
| `value` | yes | - | The value to be set for the field
2255
-
| `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.
2253
+
| Name | Required | Default | Description
2254
+
| `field` | yes | - | The field to insert, upsert, or update. Supports <<accessing-template-fields,template snippets>>.
2255
+
| `value` | yes | - | The value to be set for the field. Supports <<accessing-template-fields,template snippets>>.
2256
+
| `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