Fluentd integration: keep your pipeline, forward to Obseria
by Obseria · Logging- OpenTelemetry
- Log Analytics
- Logging
- Category
- Logging
- Key metrics
- 9
- Ready-made
- 5 dashboards & alerts
- Setup
- 3 steps
- Standard
- OTLP
Add one forward output to Fluentd or Fluent Bit and the OpenTelemetry Collector's fluentforward receiver turns every event into an OpenTelemetry log record that Obseria stores, searches and alerts on.
No re-collection
Fluentd keeps tailing files, parsing and enriching as before. Obseria receives what it already collects instead of a second agent reading the same logs.
Standard protocol, standard receiver
The Forward protocol is native to Fluentd and Fluent Bit, and the fluentforward receiver is part of the OpenTelemetry Collector contrib distribution.
Logs next to traces and metrics
Once the events are OpenTelemetry logs, they sit beside traces and metrics and can be queried, masked and alerted on in the same place.
Obseria interface



Ready the moment data arrives
- Log volume by fluent.tag and host
- Error and warning logs by service
- Alert on refused or failed log records in the Collector
- Alert on a growing Fluentd buffer queue
- Top log attributes for a selected tag
What the Fluentd integration covers
Fluentd and Fluent Bit
Both speak the Forward protocol, so the same receiver works for a central Fluentd aggregator and for Fluent Bit on every node.
Tags
The Fluentd tag of each event is stored as the fluent.tag attribute, so existing routing conventions stay searchable.
Message body
The record's message or log field becomes the body of the log record; the event timestamp becomes the log timestamp.
Structured fields
All other record fields become log attributes, so parsed JSON or regex captures stay filterable.
All Forward event modes
Message, forward, packed forward and compressed packed forward are supported, as are acknowledgments for events sent with the chunk option.
Pipeline health
Collector internal metrics and Fluentd's own buffer metrics show whether logs are flowing or backing up.
The Fluentd signals that matter
Obseria collects these values automatically and shows them in ready-made dashboards and alerts.
| Metric | Unit | What it tells you |
|---|---|---|
otelcol_receiver_accepted_log_records | {record} | Log records the fluentforward receiver accepted; the throughput of the integration. |
otelcol_receiver_refused_log_records | {record} | Log records the receiver could not push into the pipeline, for example because of memory limits. |
otelcol_exporter_sent_log_records | {record} | Log records the Collector successfully sent to Obseria. |
otelcol_exporter_send_failed_log_records | {record} | Log records the exporter failed to send; non-zero values point to network or authentication problems. |
otelcol_exporter_queue_size | {batch} | Current size of the exporter's sending queue; a growing queue means the Collector cannot send fast enough. |
fluentd_output_status_buffer_queue_length | {chunk} | Chunks waiting in a Fluentd output buffer, from fluent-plugin-prometheus; rising values mean the forward output is falling behind. |
fluentd_output_status_buffer_total_bytes | By | Total size of a Fluentd output buffer; close to the limit, Fluentd starts to block or drop. |
fluentd_output_status_retry_count | {retry} | Retries of a Fluentd output, for example when the Collector is unreachable. |
fluentd_output_status_num_errors | {error} | Errors of a Fluentd output plugin since start. |
Set up Fluentd monitoring in minutes
- 1
Add a forward output
Add a match block with @type forward to Fluentd (or an output with Name forward to Fluent Bit) pointing to the Collector on port 8006.
- 2
Enable the fluentforward receiver
Add the fluentforward receiver to the Collector, listening on 0.0.0.0:8006, and put it into a logs pipeline.
- 3
Export to Obseria
Send the logs pipeline with the otlphttp exporter to the Obseria endpoint with your token, then open the Logs page to verify.
# fluent.conf — forward what Fluentd already collects to the Collector
<match **>
@type forward
<server>
host otel-collector
port 8006
</server>
</match>
# collector.yaml — receive the Forward protocol and send logs to Obseria
receivers:
fluentforward: # newer Collector releases also accept fluent_forward
endpoint: 0.0.0.0:8006
processors:
batch: {}
exporters:
otlphttp:
endpoint: ${OBSERIA_OTLP_ENDPOINT}
headers:
Authorization: "Bearer ${OBSERIA_TOKEN}"
service:
pipelines:
logs:
receivers: [fluentforward]
processors: [batch]
exporters: [otlphttp]Why a Fluentd integration matters
Many teams have invested years in their Fluentd setup: tail inputs for application and system logs, parsers for every format, filters that add Kubernetes metadata or drop noise, and routing rules based on tags. Replacing all of that just to try a new backend is risky and slow. A Fluentd integration that accepts the data Fluentd already produces lets you keep that pipeline and still analyze the logs next to traces and metrics.
Obseria does this through the OpenTelemetry Collector. Its fluentforward receiver runs a TCP server for the Fluentd Forward protocol, the same protocol Fluentd and Fluent Bit use to talk to each other. Every Fluentd event becomes one OpenTelemetry log record, and the Collector sends it to Obseria over OTLP. The receiver is part of the Collector contrib distribution and marked beta for logs.
How Fluentd events become OpenTelemetry logs
- Tag: the Fluentd tag is stored in the attribute
fluent.tag, so you can filter by the same tags you route on today. - Timestamp: the event time from Fluentd is used as the log record timestamp.
- Body: the
messageorlogfield of the record becomes the log body. - Attributes: all other fields of the record become attributes, keeping their types where possible. Parsed JSON fields, Kubernetes metadata and custom labels stay queryable.
Because the result is a standard OpenTelemetry log, you can add processors in the Collector before export, for example to set service.name from a record field or to enrich logs with resource attributes.
Signals that matter for Fluentd log monitoring
A log pipeline is only useful if it delivers. Two sets of metrics show whether it does:
- Collector side:
otelcol_receiver_accepted_log_recordsandotelcol_receiver_refused_log_recordsshow what arrives,otelcol_exporter_sent_log_records,otelcol_exporter_send_failed_log_recordsandotelcol_exporter_queue_sizeshow what leaves. - Fluentd side: with
fluent-plugin-prometheus,fluentd_output_status_buffer_queue_length,fluentd_output_status_buffer_total_bytes,fluentd_output_status_retry_countandfluentd_output_status_num_errorsshow whether the forward output keeps up.
Common Fluentd forwarding problems and how to detect them
Growing buffers
If the Collector is slow or unreachable, Fluentd buffers chunks and retries. A rising buffer queue and retry count on the Fluentd side, together with flat accepted records on the Collector side, show where the flow stops.
Refused records
When the Collector runs into its memory limit, the receiver refuses records. otelcol_receiver_refused_log_records above zero means you should size the Collector or add batching.
Failed exports
A wrong token or endpoint shows up as failed log records on the exporter. Because the Collector logs the HTTP status, a 401 or 404 is quick to tell apart.
Missing message body
If your records keep the text in a field other than message or log, the body stays empty and the text appears as an attribute. Rename the field in Fluentd with a record_transformer filter, or map it in the Collector.
Best practices for Fluentd log forwarding
- Run the Collector close to Fluentd, on the same host or inside the same cluster network. The receiver does not support TLS or the Forward handshake.
- Keep Fluentd's file buffer for the forward output so logs survive a Collector restart.
- Use the
batchprocessor in the Collector to send efficient OTLP requests. - Set
service.nameand environment as attributes in Fluentd or the Collector, so logs line up with traces from the same service. - Drop or sample noisy debug logs early, either in Fluentd or with Obseria Pipeline, to control volume.
How Obseria helps with Fluentd logs
Obseria stores the forwarded logs in Obseria Lake next to traces and metrics. Obseria Pipeline can mask personal data and drop noise at ingest, logs that carry a trace id link to their trace, and alerts and anomaly detection work on log patterns and volumes. Your Fluentd configuration remains the source of truth for collection and parsing, and all data stays exportable via OTLP.
Learn more
What is OpenTelemetry?
What is OpenTelemetry? Learn how OTel's APIs, SDKs, Collector, OTLP and semantic conventions produce vendor-neutral traces, metrics, logs and profiles.
Observability vs monitoring: what is the difference?
Observability vs monitoring explained: definitions, a side-by-side comparison, how they work together, and when you need more than dashboards and alerts.
Fluentd monitoring FAQ
No. Fluentd keeps collecting, parsing and routing. You add one forward output that sends to the Collector, which converts the events to OpenTelemetry logs and exports them to Obseria.
Yes. Fluent Bit has a forward output that speaks the same protocol. Point it at the Collector on port 8006, just like Fluentd.
The fluentforward receiver does not support TLS or the handshake part of the Forward protocol. Run the Collector on the same host or in a trusted network next to Fluentd; the connection from the Collector to Obseria uses HTTPS.
Each event's tag is stored in the fluent.tag attribute. You can filter, group and alert on it in Obseria exactly as you route on it in Fluentd.
Recent Collector releases renamed the receiver to fluent_forward and keep fluentforward as a deprecated alias. Use the name your Collector version expects.
Start monitoring Fluentd today
Connect Fluentd in minutes with OpenTelemetry or the Obseria Agent. Free for 14 days.