Created
November 23, 2015 09:43
-
-
Save omkar0001/d3e5369d7f24c4d4cd74 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
input { | |
beats { | |
port => 5044 | |
codec => multiline { | |
pattern => "^%{TIMESTAMP_ISO8601} " | |
negate => true | |
what => previous | |
} | |
} | |
} | |
filter { | |
grok { | |
match => { "message" => "%{TIMESTAMP_ISO8601:log_timestamp} %{WORD:log_level} %{WORD:module} %{POSINT:proc_id} %{GREEDYDATA:content}" } | |
} | |
} | |
output { | |
elasticsearch { | |
hosts => "localhost:9200" | |
sniffing => true | |
manage_template => false | |
} | |
stdout {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment