Ubuntu
Fluent Bit is distributed as the fluent-bit
package and is available for long-term support releases of Ubuntu. The latest officially supported version is Noble Numbat (24.04).
Single line install
An installation script is provided for most Linux targets. This will always install the most recent version released.
This is purely a convenience helper and should always be validated prior to use. The recommended secure deployment approach is to use the following instructions.
Server GPG key
The first step is to add the Fluent Bit server GPG key to your keyring to ensure you can get the correct signed packages.
Follow the official Debian wiki guidance.
Updated key from March 2022
For releases 1.9.0 and 1.8.15 and later, the GPG key has been updated. Ensure the new key is added.
The GPG Key fingerprint of the new key is:
The previous key is still available and might be required to install previous versions.
The GPG Key fingerprint of the old key is:
Refer to the supported platform documentation to see which platforms are supported in each release.
Update your sources lists
On Ubuntu, you need to add the Fluent Bit APT server entry to your sources lists. Add the following content at bottom of your /etc/apt/sources.list
file. Ensure CODENAME
is set to your specific Ubuntu release name. For example, focal
for Ubuntu 20.04.
Update your repositories database
Update the apt
database on your system:
Fluent Bit recommends upgrading your system to avoid potential issues with expired certificates:
sudo apt-get upgrade
If you receive the error Certificate verification failed
, check if the package ca-certificates
is properly installed:
sudo apt-get install ca-certificates
Install Fluent Bit
Use the following
apt-get
command to install the latest Fluent Bit:Instruct
systemd
to enable the service:
If you do a status check, you should see a similar output like this:
The default configuration of fluent-bit
is collecting metrics of CPU usage and sending the records to the standard output. You can see the outgoing data in your /var/log/syslog
file.
Last updated