From c100932be2690371853f3d73f7695171590d1531 Mon Sep 17 00:00:00 2001 From: James Rodewig <40268737+jrodewig@users.noreply.github.com> Date: Mon, 15 Mar 2021 13:49:41 -0400 Subject: [PATCH] [DOCS] Fix Java date pattern in ingest pipeline example --- docs/reference/ingest/common-log-format-example.asciidoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/reference/ingest/common-log-format-example.asciidoc b/docs/reference/ingest/common-log-format-example.asciidoc index 2c91f33ccf9f7..ef46e7c444367 100644 --- a/docs/reference/ingest/common-log-format-example.asciidoc +++ b/docs/reference/ingest/common-log-format-example.asciidoc @@ -54,7 +54,7 @@ field to each processor type: * <>: `user_agent` In the **Date** processor, specify the date format you want to use: -`dd/MMM/YYYY:HH:mm:ss Z`. +`dd/MMM/yyyy:HH:mm:ss Z`. -- Your form should look similar to this: + @@ -81,7 +81,7 @@ processors as JSON: { "date": { "field": "@timestamp", - "formats": [ "dd/MMM/YYYY:HH:mm:ss Z" ] + "formats": [ "dd/MMM/yyyy:HH:mm:ss Z" ] } }, { @@ -170,7 +170,7 @@ GET my-index/_doc/1 "verb": "GET", "message": "212.87.37.154 - - [05/May/2099:16:21:15 +0000] \"GET /favicon.ico HTTP/1.1\" 200 3638 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36\"", "referrer": "\"-\"", - "@timestamp": "2098-12-29T16:21:15.000Z", + "@timestamp": "2099-05-05T16:21:15.000Z", "response": 200, "bytes": 3638, "client": {