Skip to main content
Collect logs from a self-hosted Redis server with the OpenTelemetry Collector. The same Collector can also forward traces and metrics from your apps — see Connect OpenTelemetry Collector to Bronto.

Prerequisites

redis.conf

Configure the Collector

Redis writes one entry per line, so no multiline handling is needed:
/etc/otel/config.yaml
Set <REGION> to eu or us.

Metrics

The Collector Contrib redis receiver reads Redis INFO data for memory, clients, commands, keyspace, persistence, and replication metrics:
Add this receiver to the Bronto metrics pipeline. Check the Collector Contrib Redis receiver documentation for measurements available in your Redis and Collector versions.

What you will see in Bronto

Open Search and filter by service.name = redis. Each line carries the process role indicator (e.g. M master, S replica, C child), a timestamp, a level symbol, and the message — startup, configuration warnings, RDB/AOF persistence, replication, and client events. Bronto’s Custom Parser extracts these fields server-side.
Redis’s slow-command log (SLOWLOG) is held in memory and read with the SLOWLOG GET command — it is not written to the log file, so file tailing does not collect it.

Troubleshooting

  • No logs? If logfile is empty, Redis logs to stdout (or journald under systemd). Set a file path in redis.conf and restart, or collect from journald with the journald receiver.
  • For general issues, see OTel Collector troubleshooting.

Alternative: Fluent Bit

If you already run Fluent Bit, tail the Redis 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 and the full output reference.