Expose AMQP message properties (headers)
A note for the community
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Use Cases
Currently, Vector's amqp source only exposes the message body. We need access to AMQP message headers (properties) for robust event monitoring and processing.
This is crucial for:
- RabbitMQ Event Exchange Monitoring: event details (e.g., node, connection, erlang process id, timestamps) are usually in headers.
- Intelligent Routing & Filtering: Allows routing or filtering based on header values.
- Enhanced Observability: Provides richer context for debugging and analysis.
Exposing these headers will significantly improve Vector's utility for AMQP-based event pipelines.
Attempted Solutions
"The amqp source currently outputs only the AMQP message body in the message field, excluding properties (headers). This limits access to crucial message metadata. (Refer to: Vector AMQP Source Output Documentation)"
Proposal
Please add message properties (headers) to the output of the amqp source. Currently, only the message body, exchange, and routing key are available, which limits our ability to leverage crucial metadata for advanced processing.
References
No response
Version
0.48.0
+1 We also need that for the RabbitMQ audit plugin messages processing
For now, we should use "exec sources with wget" instead of the AMQP source.