Skip to content

Commit 061a751

Browse files
Fix a one-word typo in the date processor docs (#127548)
This erroneously claimed that the example used a `drop` processor (which drops whole documents) when it actually uses a `remove` processor (which removes fields).
1 parent 36e2232 commit 061a751

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/enrich-processor/date-processor.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ The `timezone` and `locale` processor parameters are templated. This means that
7979

8080
### Example dealing with short timezone abbreviations safely [date-processor-short-timezone-example]
8181

82-
In the example below, the `message` field in the input is expected to be a string formed of a local date-time in `yyyyMMddHHmmss` format, a timezone abbreviated to one of `PST`, `CET`, or `JST` representing Pacific, Central European, or Japan time, and a payload. This field is split up using a `grok` processor, then the timezones are converted into full names using a `script` processor, then the date-time is parsed using a `date` processor, and finally the unwanted fields are discarded using a `drop` processor.
82+
In the example below, the `message` field in the input is expected to be a string formed of a local date-time in `yyyyMMddHHmmss` format, a timezone abbreviated to one of `PST`, `CET`, or `JST` representing Pacific, Central European, or Japan time, and a payload. This field is split up using a `grok` processor, then the timezones are converted into full names using a `script` processor, then the date-time is parsed using a `date` processor, and finally the unwanted fields are discarded using a `remove` processor.
8383

8484
```js
8585
{

0 commit comments

Comments
 (0)