Skip to content

Instantly share code, notes, and snippets.

@IanVaughan
Created December 17, 2015 16:47
Show Gist options
  • Save IanVaughan/22dfea26736c11d0fc9a to your computer and use it in GitHub Desktop.
Save IanVaughan/22dfea26736c11d0fc9a to your computer and use it in GitHub Desktop.
logstash-test.conf
input { stdin { } }
filter {
grok {
match => { "message" => "%{LOGRAGE}" }
}
}
output {
elasticsearch { hosts => ["localhost:9200"] }
stdout { codec => rubydebug }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment