Configuration Schema

    A simple example of a configuration file is as follows:

    • Multiples sections can exists on the same file.
    • Under a section is expected to have comments and entries, a section 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 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 is suggested an indentation level of four spaces from left to right. Example:

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