Skip to content

Instantly share code, notes, and snippets.

@gabriel403
Created August 15, 2013 19:55
Show Gist options
  • Save gabriel403/6244228 to your computer and use it in GitHub Desktop.
Save gabriel403/6244228 to your computer and use it in GitHub Desktop.
input {
amqp {
auto_delete => false
durable => true
exchange => "router"
exclusive => false
format => "json"
host => "loggingqueue.dev"
passive => false
password => "pword"
queue => "msgs"
type => "direct"
user => "mq_user"
vhost => "logging_queue"
}
}
input {
file {
path => ['/var/log/apache2/domain-logs/*error.log', '/var/log/apache2/error.log']
type => "apache-error"
}
}
output {
elasticsearch {
embedded => false
host => "localhost"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment