File

    The plugin supports the following configuration parameters:

    Output time, tag and json records. There is no configuration parameters for out_file.

    plain format

    Output the records as JSON (without additional and timestamp attributes). There is no configuration parameters for plain format.

    1. {"key1":"value1", "key2":"value2", "key3":"value3"}

    ltsv format

    Output the records as LTSV. LTSV supports an additional configuration parameter.

    1. field1[label_delimiter]value1[delimiter]field2[label_delimiter]value2\n

    Output the records using a custom format template.

    This accepts a formatting template and fills placeholders using corresponding values in a record.

    You will get the following output:

    You can run the plugin from the command line or through the configuration file:

    Command Line

    From the command line you can let Fluent Bit count up a data with the following options:

    1. Name cpu
    2. Tag cpu
    3. [OUTPUT]
    4. Name file
    5. Match *