Redhat / CentOS

Install on Red Hat Enterprise Linux

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

Repository Access

As part of a Calyptia Fluent Bit subscription you recieve a unique customer id that is used for retrieving and updating packages. This customer id also includes a unique URL for you to retrieve all packages that are supported

Validating Packages

When retreiving packages from the repository we employ the use of dual validation (SHA256) as well as a GPG key. The SHA256 file ensure that the GPG key included is untampered and the SHA256 file is signed with the gpg

SHA256 check

The sha256 file is distirbuted in the same repository under the files.sha256 name and this contains a full ilst of all included packages.

shasum -a 256 calyptia-fluent-bit-X.<extension>

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 calyptia-fluent-bit.repo in /etc/yum.repos.d/ with the following content:

[calyptia-fluent-bit]
name = Fluent Bit
baseurl = https://YOUR-URL/$releasever/$basearch/
gpgcheck=1
gpgkey=https://YOUR-URL/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:

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:

$ service calyptia-fluent-bit status
Redirecting to /bin/systemctl status  calyptia-fluent-bit.service
 calyptia-fluent-bit.service - Calyptia Fluent Bit
   Loaded: loaded (/usr/lib/systemd/system/calyptia-fluent-bit.service; disabled; vendor preset: disabled)
   Active: active (running) since Thu 2016-07-07 02:08:01 BST; 9s ago
 Main PID: 3820 (calyptia-fluent-bit)
   CGroup: /system.slice/calyptia-fluent-bit.service
           └─3820 /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