Skip to content

Instantly share code, notes, and snippets.

@kbighorse
Created April 10, 2013 18:07
input {
redis {
host => "10.0.0.1"
type => "redis-input"
# these settings should match the output of the agent
data_type => "list"
key => "logstash"
# We use json_event here since the sender is a logstash agent
format => "json_event"
}
}
output {
stdout {
debug => true
debug_format => "json"
}
file {
gzip => true
path => "/log/%{@source_host}/logstash_testing.log.gz"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment