We encourage Fluent Bit users to integrate data validation in their CI systems
warn
or exit
. On warn
, a warning message is sent to the logging layer when a mismatch of the rules above is found; using exit
makes Fluent Bit abort with status code 255
.data.log
with the following content:color
and label
exists:tail
input (line 9), the expect
filter will trigger the exit
action. As a test, go ahead and comment out or remove line 9.label
contains a key called name
with value abc
, then an expect filter to re-validate that condition: