Skip to content

Commit eee4fe2

Browse files
authored
[DOCS] Fix Java date pattern in ingest pipeline example (#70420)
1 parent f2cd547 commit eee4fe2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/reference/ingest/common-log-format-example.asciidoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ field to each processor type:
5454
* <<user-agent-processor,**User agent**>>: `user_agent`
5555

5656
In the **Date** processor, specify the date format you want to use:
57-
`dd/MMM/YYYY:HH:mm:ss Z`.
57+
`dd/MMM/yyyy:HH:mm:ss Z`.
5858
--
5959
Your form should look similar to this:
6060
+
@@ -81,7 +81,7 @@ processors as JSON:
8181
{
8282
"date": {
8383
"field": "@timestamp",
84-
"formats": [ "dd/MMM/YYYY:HH:mm:ss Z" ]
84+
"formats": [ "dd/MMM/yyyy:HH:mm:ss Z" ]
8585
}
8686
},
8787
{
@@ -170,7 +170,7 @@ GET my-index/_doc/1
170170
"verb": "GET",
171171
"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\"",
172172
"referrer": "\"-\"",
173-
"@timestamp": "2098-12-29T16:21:15.000Z",
173+
"@timestamp": "2099-05-05T16:21:15.000Z",
174174
"response": 200,
175175
"bytes": 3638,
176176
"client": {

0 commit comments

Comments
 (0)