Fluent Bit logs

The Fluent Bit logs input plugin routes Fluent Bit internal log output into the pipeline as structured log records. Each record contains a level field and a message field, which lets you ship, filter, or store Fluent Bit internal diagnostic output using the same pipeline you use for all other data.

This plugin is event-driven: records are delivered immediately as the internal logger emits them, not on a polling interval. Fluent Bit enables internal log mirroring automatically when this input is configured.

circle-info

Internal log records are buffered in a bounded in-memory queue of up to 1024 entries. Records produced before the pipeline is ready, or while the queue is full, aren't delivered through this plugin.

Record format

Each record contains the following fields:

Field
Type
Description

level

String

Severity of the log entry. Possible values: error, warn, info, debug, trace, help.

message

String

The log message text.

Configuration parameters

This plugin has no configuration parameters.

Get started

Command line

fluent-bit -i fluentbit_logs -o stdout

Configuration file

The following example captures Fluent Bit internal logs and writes them to standard output:

To forward internal logs to an external destination, replace the output with any supported output plugin. For example, to forward to an OpenTelemetry collector:

Last updated

Was this helpful?