Skip to content

Instantly share code, notes, and snippets.

@RafPe
Last active April 1, 2016 05:49
Show Gist options
  • Select an option

  • Save RafPe/6627a2bf05ff956a28a9 to your computer and use it in GitHub Desktop.

Select an option

Save RafPe/6627a2bf05ff956a28a9 to your computer and use it in GitHub Desktop.
iCentral logstash configuration file for input from redis and output to elastic search. stdout can be disabled when not debugging
input
{
redis
{
host => "redis-cache"
type => "redis-input"
data_type => "list"
key => "logstash"
}
}
output
{
stdout { }
elasticsearch
{
# we must specify cluster name as we do not use default elasticsearch one
hosts => "elasticsearch-central:9200"
# Here not using host as we use cluster | host => db
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment