fluent-bit
fluent-bit copied to clipboard
Exit with failure when [SERVICE] fails to process
Fluent-bit, when with only the -c flag will only [error] log PARSER parsing errors. However, this has the unintended side-effect of just not continuing parsing parsers instead of the expected parsing failure log & skip.
For example, if there is parser A, B, C, and there is an error in parser B it will get logged, but it will NOT halt the execution of the program and only parser A will be parsed/applied.
Addresses #2480
Testing Before we can approve your change; please submit the following in a comment:
- [x] Example configuration file for the change
- [x] Debug log output from testing the change
- [x] Attached Valgrind output that shows no leaks or memory corruption was found
Documentation
- [N/A] Documentation required for this feature
Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.