Skip to content

Instantly share code, notes, and snippets.

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

  • Save RafPe/0cd6594672ebfe1205a5 to your computer and use it in GitHub Desktop.

Select an option

Save RafPe/0cd6594672ebfe1205a5 to your computer and use it in GitHub Desktop.
Simple config for logstash agent forwarder and redis as event broker
input
{
tcp
{
port => 25827
type => syslog
}
udp
{
port => 25827
type => syslog
}
}
output
{
stdout { codec => rubydebug }
redis
{
host => "redis-cache"
data_type => "list"
key => "logstash"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment