Better Stack RabbitMQ logging

Start logging in 2 minutes

What you would like to collect from your RabbitMQ?

Collect logs & metrics

Collect logs and metrics from your RabbitMQ using Vector.

1. Enable RabbitMQ Prometheus plugin

Enable rabbitmq_prometheus plugin:

Enable rabbitmq_prometheus plugin:
rabbitmq-plugins enable rabbitmq_prometheus

2. Set up Vector

Select your platform:

Install and configure Vector on Ubuntu or Debian:

Set up Vector
curl -sSL https://logs.betterstack.com/setup-vector/rabbitmq_with_metrics/$SOURCE_TOKEN \
  -o /tmp/setup-vector.sh && \
  bash /tmp/setup-vector.sh

Curious about what the script does?

  • Installs Vector using official package.
  • Configures Vector for your Better Stack source.
  • Enables and restarts Vector.

The script will ask for confirmation before making any changes.

You should see your logs in Better Stack → Live tail.

Collect only logs

Collect logs from your RabbitMQ using Vector.

Select your platform:

Install and configure Vector on Ubuntu or Debian:

Set up Vector
curl -sSL https://logs.betterstack.com/setup-vector/rabbitmq/$SOURCE_TOKEN \
  -o /tmp/setup-vector.sh && \
  bash /tmp/setup-vector.sh

Curious about what the script does?

  • Installs Vector using official package.
  • Configures Vector for your Better Stack source.
  • Enables and restarts Vector.

The script will ask for confirmation before making any changes.

You should see your logs in Better Stack → Live tail.

Need help?

Please let us know at hello@betterstack.com.
We're happy to help! 🙏