Skip to content

Instantly share code, notes, and snippets.

@jedi4ever
Created January 30, 2012 21:39
Show Gist options
  • Save jedi4ever/1706886 to your computer and use it in GitHub Desktop.
Save jedi4ever/1706886 to your computer and use it in GitHub Desktop.
amqp input & output
input {
amqp {
# ship logs to the 'rawlogs' fanout queue.
type => "all"
debug => true
host => "33.33.33.10"
# Old syntax
# exchange_type => "fanout"
# New syntax
exchange => "rawlogs_exchange"
name => "rawlogs_queue"
#exclusive => false
password => "bar"
user => "logstash"
}
}
output {
# Output events to stdout for debugging. Feel free to remove
# this output if you don't need it.
stdout { }
# Ship events to the amqp fanout queue named 'rawlogs"
amqp {
debug => true
durable => true
persistent => false
host => "33.33.33.10"
exchange_type => "direct"
name => "rawlogs_exchange"
user => "logstash"
password => "bar"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment