7.1. amqp: Publishing messages using AMQP
amqp() driver publishes messages using the AMQP (Advanced Message Queuing Protocol). syslog-ng OSE supports AMQP versions 0.9.1 and 1.0. The syslog-ng OSE
amqp() driver supports persistence, and every available exchange types.
The name-value pairs selected with the
value-pairs() option will be sent as AMQP headers, while the body of the AMQP message is empty by default (but you can add custom content using the
body() option). Publishing the name-value pairs as headers makes it possible to use the Headers exchange-type and subscribe only to interesting log streams. This solution is more flexible than using the
For the list of available parameters, see Section 7.1.1, amqp() destination options.
amqp( host("<amqp-server-address>") );