Created
April 10, 2013 18:07
-
-
Save kbighorse/5357015 to your computer and use it in GitHub Desktop.
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 => "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