Fluent-bit Troubleshooting
Useful commands:
systemctl start fluent-bit
systemctl stop fluent-bit
systemctl restart fluent-bit
systemctl status fluent-bit
journalctl -u fluent-bit -n 50 --no-pager
Error types:
[error] [output:http:http.0] no upstream connections available to http/https://<ascent-url>Verify that the Host in fluent-bit.conf does not include http:// or https://, if you use https you also need to specify port 443 and you might have to set tls to on
[error] could not open parser configuration file, aborting.Incorrect filepath specified in fluent-bit.conf
File permissions prevent Fluent Bit from reading it
A typo in the filename or a missing mount (if running in a container)
[engine] caught signal (SIGSEGV)You can get this error if fluent-bit crashed due to missing configurations or a bug.
Test your config with: fluent-bit -c /etc/fluent-bit/fluent-bit.conf --dry-run
If it works you should see configuration test is successful
If you see something like this line when you check the fluent-bit status where you can see the typo it can easily be fixed with the following steps:
Run: systemctl cat fluent-bit.service You should see something like this:
2. If you see something like a typo as we do in this example run:
Then reload and restart fluent-bit with the following commands:
Backup files, create a new folder, provide the correct permissions (in this example we run it with the root user):
Last updated
Was this helpful?