Skip to content

Instantly share code, notes, and snippets.

@ruo91
Created April 22, 2014 11:44
Show Gist options
  • Save ruo91/11175523 to your computer and use it in GitHub Desktop.
Save ruo91/11175523 to your computer and use it in GitHub Desktop.
logstash indexer - Redis -> ElasticSearch
input {
redis {
host => "127.0.0.1"
port => "6379"
data_type => "list"
key => "logstash"
codec => json
}
}
output {
stdout { codec => rubydebug codec => json }
elasticsearch {
host => "127.0.0.1"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment