For the complete documentation index, see llms.txt. This page is also available as Markdown.

YAML configuration files

In Fluent Bit v3.2 and later, YAML configuration files support all of the settings and features that classic configuration files support, plus additional features that classic configuration files don't support, like processors.

YAML configuration files support the following top-level sections:

YAML configuration is used in the smoke tests for containers. An always-correct up-to-date example is here: https://github.com/fluent/fluent-bit/blob/master/packaging/testing/smoke/container/fluent-bit.yaml.

extensions section

The extensions section is available in Fluent Bit version 5.1 and greater.

Use this section to store settings that belong to tooling around Fluent Bit, such as a management agent or a deployment system, in the same file as your pipeline. Fluent Bit parses and retains the section, but nothing in the data pipeline reads it. Adding it doesn't change how Fluent Bit collects, processes, or delivers data.

Unlike other sections, extensions accepts arbitrarily nested maps, and preserves the type of each value. Group settings under a key that identifies the tool that consumes them:

Nested values are only accepted in this section. Using a nested map elsewhere fails with variant values are only valid in the extensions section.

Last updated

Was this helpful?