From d71894a226f9388d55b87eac0d67904a6ed030ce Mon Sep 17 00:00:00 2001 From: Christoph Wurm Date: Tue, 7 Jun 2016 15:47:38 +0200 Subject: [PATCH] Update ingest-node.asciidoc Fixed forgotten rename from `match_formats` to `formats` in documentation (changed in https://github.com/elastic/elasticsearch/commit/dd2184ab259fb544659ec28ce97467729e2974fe) --- docs/reference/ingest/ingest-node.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/ingest/ingest-node.asciidoc b/docs/reference/ingest/ingest-node.asciidoc index 9cf51374ab4..ec641383beb 100644 --- a/docs/reference/ingest/ingest-node.asciidoc +++ b/docs/reference/ingest/ingest-node.asciidoc @@ -744,7 +744,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. -| `match_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. +| `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. | `timezone` | no | UTC | The timezone to use when parsing the date. | `locale` | no | ENGLISH | The locale to use when parsing the date, relevant when parsing month names or week days. |====== @@ -760,7 +760,7 @@ Here is an example that adds the parsed date to the `timestamp` field based on t "date" : { "field" : "initial_date", "target_field" : "timestamp", - "match_formats" : ["dd/MM/yyyy hh:mm:ss"], + "formats" : ["dd/MM/yyyy hh:mm:ss"], "timezone" : "Europe/Amsterdam" } }