Skip to main content
Collect logs from a self-hosted RabbitMQ broker — connections, channel activity, node events, and errors — with the OpenTelemetry Collector. The same Collector can also forward traces and metrics from your apps — see Connect OpenTelemetry Collector to Bronto.

Prerequisites

Configure the Collector

RabbitMQ entries begin with a timestamp, and some span multiple lines (crash reports). Use multiline keyed on the leading timestamp:
/etc/otel/config.yaml
Set <REGION> to eu or us.

What you will see in Bronto

Open Search and filter by service.name = rabbitmq. Each line carries a timestamp, log level ([info], [warning], [error]), the Erlang process id, and the message — connection open/close, channel errors, queue declarations, and node lifecycle events. Bronto’s Custom Parser extracts these fields server-side.

Troubleshooting

  • Want structured fields at the source? RabbitMQ’s default format is plain text. For JSON logs (RabbitMQ 3.9+), set log.file.formatter = json in rabbitmq.conf, then add a json_parser operator to the receiver.
  • For general issues, see OTel Collector troubleshooting.

Alternative: Fluent Bit

If you already run Fluent Bit, tail the RabbitMQ log file and forward it over HTTP:
fluent-bit.conf
Set Format to json_lines, not json. See Connect Fluent Bit to Bronto for installation.