Push events to a RabbitMQ exchange. Requires RabbitMQ 2.x or later version (3.x is recommended).
Relevant links:
output {
rabbitmq {
codec => ... # codec (optional), default: "plain"
durable => ... # boolean (optional), default: true
exchange => ... # string (required)
exchange_type => ... # string, one of ["fanout", "direct", "topic"] (required)
host => ... # string (required)
key => ... # string (optional), default: "logstash"
password => ... # password (optional), default: "guest"
persistent => ... # boolean (optional), default: true
port => ... # number (optional), default: 5672
ssl => ... # boolean (optional), default: false
user => ... # string (optional), default: "guest"
verify_ssl => ... # boolean (optional), default: false
vhost => ... # string (optional), default: "/"
workers => ... # number (optional), default: 1
}
}
The codec used for output data. Output codecs are a convenient method for encoding your data before it leaves the output, without needing a separate filter in your Logstash pipeline.
Enable or disable logging
Is this exchange durable? (aka; Should it survive a broker restart?)
The name of the exchange
Exchange
The exchange type (fanout, topic, direct)
Only handle events without any of these tags. Note this check is additional to type and tags.
Connection
RabbitMQ server address
Key to route to by default. Defaults to ‘logstash’
RabbitMQ password
Should RabbitMQ persist messages to disk?
RabbitMQ port to connect on
Enable or disable SSL
Only handle events with all of these tags. Note that if you specify a type, the event must also match that type. Optional.
The type to act on. If a type is given, then this output will only act on messages with the same type. See any input plugin’s “type” attribute for more. Optional.
RabbitMQ username
Validate SSL certificate
The vhost to use. If you don’t know what this is, leave the default.
The number of workers to use for this output. Note that this setting may not be useful for all outputs.