Fluent-bit: Add option to validate configuration

Created on 17 May 2020  路  2Comments  路  Source: fluent/fluent-bit

Is your feature request related to a problem? Please describe.

same issue as #1787.

Fluent Bit does not have the option to test whether its configuration is valid.

Describe the solution you'd like

Some projects have added the Fluent Bit configuration file into the Git repository.
When I change Fluent Bit's configuration file or command line options, I want to check if the configuration file is valid via CI such as GitHub Actions or CircleCI.
However, there is no option to check the settings, so I have to run the command manually to make sure it runs correctly.

In order to automatically check its configuration validness, we need an option to validate configuration

Many applications allow you to check if their configuration contains errors, e.g.:

nginx -c /etc/nginx/nginx.conf -t
apachectl configtest

Describe alternatives you've considered

Add option to validate configuration.

enhancement

Most helpful comment

thanks for opening this ticket, definitely will be implemented.

All 2 comments

thanks for opening this ticket, definitely will be implemented.

Cool feature, do we know when the PR will be merged?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thrift24 picture thrift24  路  4Comments

c0ze picture c0ze  路  3Comments

JavaCS3 picture JavaCS3  路  3Comments

tarokkk picture tarokkk  路  3Comments

arienchen picture arienchen  路  3Comments