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:
env: Configures environment variables.includes: Specifies additional YAML configuration files to include as part of a parent file.service: Configures global properties of the Fluent Bit service.pipeline: Configures activeinputs,filters, andoutputs.parsers: Defines custom parsers.multiline_parsers: Defines custom multiline parsers.plugins: Defines paths for custom plugins.upstream_servers: Defines nodes for output plugins.extensions: Carries settings for external tooling that Fluent Bit parses but doesn't act on.
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?