rabbitmq
editrabbitmq
editPush events to a RabbitMQ exchange. Requires RabbitMQ 2.x or later version (3.x is recommended).
Relevant links:
Synopsis
editThis plugin supports the following configuration options:
Required configuration options:
rabbitmq { exchange => ... exchange_type => ... host => ... }
Available configuration options:
Setting | Input type | Required | Default value |
---|---|---|---|
No |
|
||
No |
|
||
No |
|
||
No |
|
||
No |
|||
No |
|
||
Yes |
|||
string, one of |
Yes |
||
No |
|||
Yes |
|||
No |
|
||
No |
|
||
No |
|
||
No |
|
||
No |
|
||
No |
|
||
No |
|
||
No |
|
||
No |
|
||
No |
|
Details
edit
codec
edit- Value type is codec
-
Default value is
"json"
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.
debug
(DEPRECATED)
edit- DEPRECATED WARNING: This configuration item is deprecated and may not be available in future versions.
- Value type is boolean
-
Default value is
false
Enable or disable logging
durable
edit- Value type is boolean
-
Default value is
true
Is this exchange durable? (aka; Should it survive a broker restart?)
exchange
edit- This is a required setting.
- Value type is string
- There is no default value for this setting.
The name of the exchange
exchange_type
edit- This is a required setting.
-
Value can be any of:
fanout
,direct
,topic
- There is no default value for this setting.
The exchange type (fanout, topic, direct)
host
edit- This is a required setting.
- Value type is string
- There is no default value for this setting.
key
edit- Value type is string
-
Default value is
"logstash"
Key to route to by default. Defaults to logstash
- Routing keys are ignored on fanout exchanges.
persistent
edit- Value type is boolean
-
Default value is
true
Should RabbitMQ persist messages to disk?