Created
May 19, 2017 12:10
-
-
Save spaghetti-/0d4be9827f9f68992fe05963edaf784d to your computer and use it in GitHub Desktop.
grok to take out timestamp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PUT _ingest/pipeline/extract_timestamp_fromlogfile | |
{ | |
"processors": [ | |
{ | |
"grok": { | |
"field": "message", | |
"patterns": ["%{TIMESTAMP_ISO8601:timestamp}"] | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment