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.

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.