How to Check for Fluent Bit Internal Errors

Better Stack Team
Updated on August 5, 2024

To check for internal errors in Fluent Bit, you should set the Log_Level option in the [SERVICE] section to debug:

fluent-bit.conf
# Service Section
[SERVICE]
    Flush        1
    Daemon       off
Log_Level debug
...

When you restart Fluent Bit, you will see logs with internal errors and debug information:

Output
...
[2024/08/05 10:55:05] [debug] [out flush] cb_destroy coro_id=230
[2024/08/05 10:55:05] [debug] [task] destroy task=0x7f5439e76020 (task_id=0)
[2024/08/05 10:55:07] [debug] [input:tail:tail.0] inode=266432, /var/log/logify/app.log, events: IN_MODIFY

To continue learning about Fluent Bit, see the Beginner's Guide to Fluent Bit.

Got an article suggestion? Let us know
Explore more
Licensed under CC-BY-NC-SA

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.