Last active
April 1, 2016 05:49
-
-
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
This file contains hidden or 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
| 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