rabbitmqedit

Push events to a RabbitMQ exchange. Requires RabbitMQ 2.x or later version (3.x is recommended).

Relevant links:

 

Synopsisedit

This plugin supports the following configuration options:

Required configuration options:

rabbitmq {
    exchange => ...
    exchange_type => ...
    host => ...
}

Available configuration options:

Detailsedit

 

argumentsedit

  • Value type is array
  • Default value is {}

automatic_recoveryedit

  • Value type is boolean
  • Default value is true

codecedit

  • 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.

connect_retry_intervaledit

  • Value type is number
  • Default value is 1

connection_timeoutedit

  • Value type is number
  • There is no default value for this setting.

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

durableedit

  • Value type is boolean
  • Default value is true

Is this exchange durable? (aka; Should it survive a broker restart?)

exchangeedit

  • This is a required setting.
  • Value type is string
  • There is no default value for this setting.

The name of the exchange

exchange_typeedit

  • 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)

heartbeatedit

  • Value type is number
  • There is no default value for this setting.

hostedit

  • This is a required setting.
  • Value type is string
  • There is no default value for this setting.

keyedit

  • Value type is string
  • Default value is "logstash"

Key to route to by default. Defaults to logstash

  • Routing keys are ignored on fanout exchanges.

passiveedit

  • Value type is boolean
  • Default value is false

passwordedit

  • Value type is password
  • Default value is "guest"

persistentedit

  • Value type is boolean
  • Default value is true

Should RabbitMQ persist messages to disk?

portedit

  • Value type is number
  • Default value is 5672

ssledit

  • Value type is boolean
  • Default value is false

useredit

  • Value type is string
  • Default value is "guest"

verify_ssledit

  • Value type is boolean
  • Default value is false

Validate SSL certificate

vhostedit

  • Value type is string
  • Default value is "/"

The vhost to use. If you don’t know what this is, leave the default.

workersedit

  • Value type is number
  • Default value is 1

The number of workers to use for this output. Note that this setting may not be useful for all outputs.