Skip to content

Instantly share code, notes, and snippets.

@astanway
Created June 9, 2014 18:48
Show Gist options
  • Save astanway/7e18619547c98ec3a2e9 to your computer and use it in GitHub Desktop.
Save astanway/7e18619547c98ec3a2e9 to your computer and use it in GitHub Desktop.
# Define inputs
input {
redis {
host => "127.0.0.1"
data_type => "list"
type => "redis-input"
key => "logstash"
}
redis {
host => "127.0.0.1"
data_type => "list"
codec => "json"
key => "json"
}
}
output {
# send events to stdout for easy debugging
#stdout { debug => true debug_format => "json" }
graphite {
host => "localhost"
metrics_format => "logstash_testing.*"
metrics => ["bar", "%{[foo][bar]}"]
}
elasticsearch {
host => "127.0.0.1"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment