From dc7ffb154a051e7d6cb42c5e3d6a43d05efa4fa9 Mon Sep 17 00:00:00 2001 From: Jake Landis Date: Mon, 15 Jun 2020 17:04:14 -0500 Subject: [PATCH] Update hh to HH in date processor example (#58089) (#58144) Co-authored-by: Leaf-Lin <39002973+Leaf-Lin@users.noreply.github.com> --- docs/reference/ingest/processors/date.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/ingest/processors/date.asciidoc b/docs/reference/ingest/processors/date.asciidoc index d797dffd8d4..78107b33a4d 100644 --- a/docs/reference/ingest/processors/date.asciidoc +++ b/docs/reference/ingest/processors/date.asciidoc @@ -14,7 +14,7 @@ in the same order they were defined as part of the processor definition. | Name | Required | Default | Description | `field` | yes | - | The field to get the date from. | `target_field` | no | @timestamp | The field that will hold the parsed date. -| `formats` | yes | - | An array of the expected date formats. Can be a java time pattern or one of the following formats: ISO8601, UNIX, UNIX_MS, or TAI64N. +| `formats` | yes | - | An array of the expected date formats. Can be a <> or one of the following formats: ISO8601, UNIX, UNIX_MS, or TAI64N. | `timezone` | no | UTC | The timezone to use when parsing the date. Supports <>. | `locale` | no | ENGLISH | The locale to use when parsing the date, relevant when parsing month names or week days. Supports <>. include::common-options.asciidoc[] @@ -31,7 +31,7 @@ Here is an example that adds the parsed date to the `timestamp` field based on t "date" : { "field" : "initial_date", "target_field" : "timestamp", - "formats" : ["dd/MM/yyyy hh:mm:ss"], + "formats" : ["dd/MM/yyyy HH:mm:ss"], "timezone" : "Europe/Amsterdam" } }