Created
September 7, 2014 23:07
-
-
Save jkburges/eb75739491de76aac3c8 to your computer and use it in GitHub Desktop.
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
filter { | |
grok { | |
match => { "message" => "%{TIMESTAMP_ISO8601:timestamp} %{LOGLEVEL:level}%{SPACE}\[%{NOTSPACE:thread_id}\]%{SPACE}\[%{DATA:user}\]%{SPACE}%{DATA:category}%{SPACE}- %{GREEDYDATA:log_msg}" } | |
} | |
# Specific to portal - move to databag. | |
grok { | |
match => { | |
"category" => "client-log", | |
"log_msg" => "session ID: %{WORD:session_id}, message: %{GREEDYDATA:client_msg}" | |
} | |
} | |
date { | |
match => [ "timestamp" , "ISO8601" ] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment