Skip to content

Instantly share code, notes, and snippets.

@victorhooi
Created December 19, 2011 03:33
Show Gist options
  • Save victorhooi/1495261 to your computer and use it in GitHub Desktop.
Save victorhooi/1495261 to your computer and use it in GitHub Desktop.
Logstash Sender Configuration
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