Created
January 30, 2012 21:39
-
-
Save jedi4ever/1706886 to your computer and use it in GitHub Desktop.
amqp input & output
This file contains hidden or 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 { | |
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" | |
} | |
} |
This file contains hidden or 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
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