fluent / fluent/fluent-bit

Better/useful errors for configuration failures

Open
#3,505 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C
Stars
8.1k
Forks
2k
Avg merge
4d 20h
Merged PRs (30d)
71

Description

Some of the error messages fluent bit prints when config is invalid are not very useful at all. They do not tell users why their config is invalid. Or, even if they do give you the reason, they won't tell you exactly where in the config file the problem is.

For example, if you use an @INCLUDE statement to import a file which does not exist:

/fluent-bit/etc/fluent-bit.conf
```
@INCLUDE /does-not-exist.conf
```

You get this error:

> Error: Configuration file contains errors. Aborting

Which is entirely useless...

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.