Configuration Schema

    A simple example of a configuration file is as follows:

    • Multiple sections can exist on the same file.
    • A section is expected to have comments and entries, it cannot be empty.
    • Any commented line under a section, must be indented too.

    A section may contain Entries, an entry is defined by a line of text that contains a Key and a Value, using the above example, the [SERVICE] section contains two entries, one is the key Daemon with value off and the other is the key Log_Level with the value debug. Entries rules:

    • An entry is defined by a key and a value.
    • A key must be indented.
    • A key must contain a value which ends in the breakline.

    Fluent Bit configuration files are based in a strict Indented Mode, that means that each configuration file must follow the same pattern of alignment from left to right when writing text. By default an indentation level of four spaces from left to right is suggested. Example:

    1. # This is a commented line
    2. Key2 another value
    3. KeyN 3.14