When to Use FireLens
FireLens is a good fit when you are running workloads on ECS and want to:- Ship container
stdout/stderrlogs directly to Bronto without going through CloudWatch - Keep your setup log-focused without the overhead of an OTel pipeline
- Use AWS’s native ECS log routing rather than managing a separate collector
Supported AWS Services
FireLens routes logs from containers running in:
FireLens is ECS-specific. For EKS container logs, use Fluent Bit on EKS. For Lambda or other AWS services, see the overview.
What is FireLens?
AWS FireLens is an ECS log routing feature that uses a Fluent Bit (or Fluentd) sidecar container as a log driver. Container logs are piped from your application containers directly to the FireLens sidecar, which forwards them to Bronto using JSON Lines over HTTPS. FireLens runs as a sidecar in the same ECS task. No separate infrastructure is required.Bronto Ingestion Endpoint
FireLens uses Fluent Bit’shttp output, which sends JSON Lines to the Bronto base endpoint (no path):
This is different from the OTLP endpoints (
/v1/logs, /v1/metrics, /v1/traces), which accept only OTLP payloads (protobuf or OTLP/JSON). Fluent Bit’s http output sends JSON Lines, not OTLP, so it must target the base endpoint.Setup
Step 1 — Add the FireLens sidecar to your task definition
Add alog_router container using the AWS-provided Fluent Bit image. This container acts as the log driver for all other containers in the task.
stable tag currently points to the 2.x line, which is based on Amazon Linux 2 and reached end of life on June 30, 2026.
Step 2 — Configure Fluent Bit to forward to Bronto
Give the sidecar a custom Fluent Bit configuration file withconfig-file-type and config-file-value. Use file for a config baked into a custom image or mounted into the container, or s3 with the object’s ARN on the EC2 launch type. Fargate and ECS Managed Instances support only file; to load from S3 there, use the AWS for Fluent Bit init image. SSM Parameter Store isn’t a supported source. The output section targets Bronto’s base ingestion endpoint using JSON Lines format.
For the full Fluent Bit configuration reference and output options, see the Fluent Bit setup guide.
<REGION> with eu or us.
Step 3 — Point your application containers at FireLens
Update thelogConfiguration of each application container to use the awsfirelens log driver:
Data Organization
Set the recommended headers in your Fluent Bit[OUTPUT] block to control how data lands in Bronto — see Data Organization for how datasets, collections, and tags work.
[OUTPUT] blocks with different Match patterns and per-output Header directives.
Cost Notes
- No CloudWatch ingestion fees — logs go directly from FireLens to Bronto.
- You pay only for the ECS task compute running the FireLens sidecar, which is negligible.
- Compare with CloudWatch Log Forwarder if your services already write to CloudWatch.
For assistance, contact support@bronto.io.
