Skip to content

Instantly share code, notes, and snippets.

@jedi4ever
Created June 11, 2012 17:10
Show Gist options
  • Save jedi4ever/2911355 to your computer and use it in GitHub Desktop.
Save jedi4ever/2911355 to your computer and use it in GitHub Desktop.
input {
amqp {
# AMQP connection details
host => "<%= amqpHost %>"
user => "<%= amqpUser %>"
vhost => "<%= amqpVhost %>"
password => "<%= amqpPassword %>"
# This name has to be same across indexer to have each indexer take only 1 message from the queue
name => "indexer_queue"
# Queue settings (needs to mirror all other consumer/producers)
exclusive => false
durable => true
auto_delete => false
# Exchange to bind to
exchange => "logs_exchange"
# This is needed for direct exchange
key => "logstash"
type => "logstash-indexer-input"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment