Redhat / CentOS
Install on Red Hat Enterprise Linux/CentOS
Calyptia Fluent Bit is distributed as calyptia-fluent-bit package and is available for the latest stable RHEL and CentOS architectures. The following architectures are supported
x86_64
aarch64 / arm64v8
For CentOS 9+ we use CentOS Stream as the canonical base system.
Single line install
A simple installation script is provided to be used for most Linux targets. This will always install the most recent version released.
curl -L https://github.com/calyptia/lts-notifications/releases/latest/download/install-package.sh| sh
This is purely a convenience helper and should always be validated prior to use. The recommended secure deployment approach is to follow the instructions below.
CentOS 8
CentOS 8 is now EOL so the default Yum repositories are unavailable.
Make sure to configure to use an appropriate mirror, for example:
$ sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* && \
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
Signature Check
Calyptia packages are all signed via the calyptia.key that are included as part of your repositories. You can check the signatures by using the built-in rpm tool
Import Calyptia Key**
rpm --import calyptia.key
Check Signature
rpm -K <package>
Configure Yum
We provide calyptia-fluent-bit through a Yum repository. In order to add the repository reference to your system, please add a new file called package-centos.repo_ in /etc/yum.repos.d/ with the following content:
[calyptia-fluent-bit]
name = Calyptia Fluent Bit
baseurl = https://calyptia-lts-release-standard.s3.amazonaws.com/linux/23.4.1/package-centos-[YOUR VERSION_ID]
gpgcheck=1
gpgkey=https://calyptia-lts-release-standard.s3.amazonaws.com/linux/23.4.1/calyptia.key
repo_gpgcheck=1
enabled=1
It is best practice to always enable the gpgcheck and repo_gpgcheck for security reasons. We sign our repository metadata as well as all of our packages.
Install
Once your repository is configured, run the following command to install it:
sudo yum install calyptia-fluent-bit
Now the following step is to instruct Systemd to enable the service:
sudo service calyptia-fluent-bit start
If you do a status check, you should see a similar output like this:
● calyptia-fluent-bit.service - Calyptia Fluent Bit
Loaded: loaded (/usr/lib/systemd/system/calyptia-fluent-bit.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2023-06-08 15:55:03 UTC; 9s ago
Docs: https://docs.fluentbit.io/manual/
Main PID: 16631 (calyptia-fluent)
CGroup: /system.slice/calyptia-fluent-bit.service
└─16631 /opt/calyptia-fluent-bit/bin/calyptia-fluent-bit -c //etc/calyptia-fluent-bit/calyptia-fluent-bit.conf
The default configuration of calyptia-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/messages file.
Last updated