Skip to content

Instantly share code, notes, and snippets.

@simkim
Forked from pblittle/logstash.conf
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simkim/e0ecb0d5d74bec2850f2 to your computer and use it in GitHub Desktop.
Save simkim/e0ecb0d5d74bec2850f2 to your computer and use it in GitHub Desktop.
input {
stdin {
type => "stdin-type"
}
syslog {
type => "rsyslog"
}
}
filter {
date {
tags => ["@timestamp"]
add_tag => ["timestamp"]
timezone => "Europe/Paris"
}
}
output {
stdout {
codec => rubydebug
}
elasticsearch {
embedded => true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment