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

dawidmalina picture dawidmalina  路  31Comments

mitchellmaler picture mitchellmaler  路  24Comments

jsravn picture jsravn  路  31Comments

theFroh picture theFroh  路  37Comments

duythinht picture duythinht  路  26Comments