Raspbian and Raspberry Pi

Fluent Bit is distributed as the fluent-bit package and is available for Raspberry Pi. The following versions are supported:

  • Raspbian Bookworm (12)

  • Raspbian Bullseye (11)

  • Raspbian Buster (10)

Server GPG key

The first step is to add the Fluent Bit server GPG key to your keyring so you can get FLuent Bit signed packages:

sudo sh -c 'curl https://packages.fluentbit.io/fluentbit.key | sudo apt-key add - '

Update your sources lists

On Debian and derivative systems such as Raspbian, 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.

Raspbian 12 (Bookworm)

echo "deb https://packages.fluentbit.io/raspbian/bookworm bookworm main" | sudo tee /etc/apt/sources.list.d/fluent-bit.list

Raspbian 11 (Bullseye)

echo "deb https://packages.fluentbit.io/raspbian/bullseye bullseye main" | sudo tee /etc/apt/sources.list.d/fluent-bit.list

Raspbian 10 (Buster)

Update your repositories database

Now let your system update the apt database:

Fluent Bit recommends upgrading your system (sudo apt-get upgrade) to avoid potential issues with expired certificates.

Install Fluent Bit

  1. Ensure your GPG key is up to date.

  2. Use the following apt-get command to install the latest Fluent Bit:

  3. 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 collects metrics for CPU usage and sends the records to the standard output. You can see the outgoing data in your /var/log/syslog file.

Last updated

Was this helpful?