Created
June 9, 2014 18:48
-
-
Save astanway/7e18619547c98ec3a2e9 to your computer and use it in GitHub Desktop.
This file contains 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
# 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