Graylog2 / graylog2-server

Free and open log management
https://www.graylog.org
Other
7.32k stars 1.05k forks source link

AMQP Input, log Properties and Headers from Raw AMQP Message #6321

Open p-8-z opened 5 years ago

p-8-z commented 5 years ago

Some of the AMQP brokers log their events and traces in exchanges (e.g. Rabbitmq amq.rabbitmq.event). These kind of messages are useful for auditing brokers and we would like to consume them with graylog input. Consumed AMQP Messages come with empty body and useful information is stored in AMQP Headers and Properties.

Expected Behavior

Current Behavior

Possible Solution

Context

As a company we would like to log these kind of AMQP messages from broker without any kind of middle man between AMQP broker and Graylog.

p-8-z commented 5 years ago

I already have implementation working.

mpoeter commented 4 years ago

I would also like to access the message header and properties in my inputs - this would be really helpful!

aitorpazos commented 3 years ago

Any update on this one?

This feature would be very useful in combination with RabbitMQ event exchange plugin in order to use Graylog as an audit log store:

Each event has various properties associated with it. These are translated into AMQP 0-9-1 data encoding and inserted in the message headers. The message body is always blank.