Alma / Rocky Linux
Fluent Bit is distributed as the fluent-bit
package and is available for the latest
versions of Rocky or Alma Linux now that CentOS Stream is tracking more recent dependencies.
Fluent Bit supports the following architectures:
x86_64
aarch64
arm64v8
Single line install
Fluent Bit provides an installation script to use for most Linux targets. This will always install the most recently released version.
This is a convenience helper and should always be validated prior to use. Older versions of this install script will not support auto-detecting Rocky or Alma Linux. The recommended secure deployment approach is to use the following instructions:
RHEL 9
From CentOS 9 Stream onwards, the CentOS dependencies will update more often than downstream usage. This may mean that incompatible (more recent) versions are provided of certain dependencies (e.g. OpenSSL). For OSS, we also provide RockyLinux and AlmaLinux repositories. This may be required for RHEL 9 as well which will no longer track equivalent CentOS 9 stream dependencies. No RHEL 9 build is provided, it is expected to use one of the OSS variants listed.
Configure Yum
The fluent-bit
is provided through a Yum repository.
To add the repository reference to your system:
In
/etc/yum.repos.d/
, add a new file calledfluent-bit.repo
.Add the following content to the file - replace
almalinux
withrockylinux
if required:As a best practice, enable
gpgcheck
andrepo_gpgcheck
for security reasons. Fluent Bit signs its repository metadata and all Fluent Bit packages.
Install
After your repository is configured, run the following command to install it:
Instruct
Systemd
to enable the service:
If you do a status check, you should see a similar output like this:
The default Fluent Bit configuration collect metrics of CPU usage and sends the
records to the standard output. You can see the outgoing data in your/var/log/messages
file.
Last updated
Was this helpful?