Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS] Fix Java date pattern in ingest pipeline example #70420

Merged
merged 1 commit into from
Mar 15, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/reference/ingest/common-log-format-example.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ field to each processor type:
* <<user-agent-processor,**User agent**>>: `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:
+
Expand All @@ -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" ]
}
},
{
Expand Down Expand Up @@ -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": {
Expand Down