Configure Fluent Bit
Fluent Bit uses configuration files to store information about your specified inputs, outputs, filters, and more. You can write these configuration files in one of these formats:
YAML configuration files are the standard configuration format as of Fluent Bit v3.2. They use the
.yamlfile extension.Classic configuration files will be deprecated at the end of 2026. They use the
.conffile extension.
Unit sizes
Some configuration settings in Fluent Bit use standardized unit sizes to define data and storage limits. For example, the buffer_chunk_size and buffer_max_size parameters for the Tail input plugin use unit sizes.
The following table describes the unit sizes you can use and what they mean.
none
Bytes: If you specify an integer without a unit size, Fluent Bit interprets that value as a bytes representation.
32000 means 32,000 bytes.
k, kb, K, KB
Kilobytes: A unit of memory equal to 1,000 bytes.
32k means 32,000 bytes.
m, mb, M, MB
Megabytes: A unit of memory equal to 1,000,000 bytes.
32m means 32,000,000 bytes.
g, gb, G, GB
Gigabytes: A unit of memory equal to 1,000,000,000 bytes.
32g means 32,000,000,000 bytes.
Command line interface
Fluent Bit exposes most of its configuration features through the command line interface. Use the -h or --help flag to see a list of available options.
# Podman container tooling.
podman run -rm -ti fluent/fluent-bit --help
# Docker container tooling.
docker run --rm -it fluent/fluent-bit --helpLast updated
Was this helpful?