Skip to content

Instantly share code, notes, and snippets.

@omkar0001
Created November 23, 2015 09:43
Show Gist options
  • Save omkar0001/d3e5369d7f24c4d4cd74 to your computer and use it in GitHub Desktop.
Save omkar0001/d3e5369d7f24c4d4cd74 to your computer and use it in GitHub Desktop.
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