Created
December 19, 2011 03:33
-
-
Save victorhooi/1495261 to your computer and use it in GitHub Desktop.
Logstash Sender Configuration
This file contains 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 { | |
file { | |
debug => false | |
path => "/var/log/*.log" | |
format => "plain" # What's the recommendation here? | |
type => "varlogs" | |
} | |
} | |
output { | |
# Emit events to stdout for easy debugging of what is going through | |
# logstash. | |
stdout { } | |
amqp { | |
debug => false | |
durable => false | |
exchange_type => "topic" | |
host => "monitoringserver.com" | |
key => "%{@source_path}" | |
name => "e1" | |
password => "guest" | |
persistent => true | |
port => 5672 | |
user => "guest" | |
vhost => "/" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment