How to Check for Fluent Bit Internal Errors
To check for internal errors in Fluent Bit, you should set the Log_Level
option in the [SERVICE]
section to debug
:
# 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:
...
[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.
Make your mark
Join the writer's program
Are you a developer and love writing and sharing your knowledge with the world? Join our guest writing program and get paid for writing amazing technical guides. We'll get them to the right readers that will appreciate them.
Write for usBuild on top of Better Stack
Write a script, app or project on top of Better Stack and share it with the world. Make a public repository and share it with us at our email.
community@betterstack.comor submit a pull request and help us build better products for everyone.
See the full list of amazing projects on github