Prerequisites
- A Bronto account and API key (how to create one)
- Traefik writing access logs to a file in JSON format (Traefik logs to stdout by default — see below)
- An OpenTelemetry Collector (recommended) or Fluent Bit installed on the same host
traefik.yaml:
traefik.yaml
Configure the Collector
Traefik’s JSON access log is one object per line — parse it withjson_parser:
/etc/otel/config.yaml
<REGION> to eu or us.
What you will see in Bronto
Open Search and filter byservice.name = traefik. Each entry carries the client address (ClientHost), entrypoint, router and service names, method (RequestMethod), path (RequestPath), status (DownstreamStatus), duration (Duration), and backend URL. The JSON fields map directly to searchable attributes.
Troubleshooting
- No log file? Traefik logs to stdout unless
accessLog.filePathis set. Add theaccessLogblock above and setformat: jsonfor automatic field extraction. - For general issues, see OTel Collector troubleshooting.
Alternative: Fluent Bit
If you already run Fluent Bit, tail the Traefik access log and forward it over HTTP:fluent-bit.conf
json_lines, not json. See Connect Fluent Bit to Bronto for installation.
