Debian-based

Calyptia Core Agent is distributed as the calyptia-fluent-bit package and supports the following versions:

  • Debian: Buster, Stretch, and Jessie

  • Ubuntu: Jammy Jellyfish

Dependencies

For Debian-based installations, Core Agent has the following general dependencies:

  • libc

  • libsasl

  • libsystemd

  • libyaml

  • OpenSSL

  • zlib

To retrieve a list of specific dependencies for your environment, run the following command:

dpkg -I <package file>

Repository Access

As part of a Calyptia Core Agent 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 retrieving packages from the repository we employ the use of dual validation (SHA256) and a GPG key. The SHA256 file ensures the GPG key included is untampered ,and the SHA256 file is signed with the gpg key.

SHA256 check

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

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

Signature Check

Calyptia packages are all signed with the calyptia.key included as part of your repositories. You can check the signatures by using the built-in dpkg and apt-key tool.

Import Calyptia Key

apt-key add calyptia.key

Check Signature

dpkg-sig --list <package>

Update your repositories database

Now let your system update the apt database:

sudo apt-get update

We also recommend upgrading your system (sudo apt-get upgrade). This could avoid potential issues with expired certificates.

Install

Using the following apt-get command you are able now to install the latest fluent-bit:

sudo apt-get install calyptia-fluent-bit

Now the following step is to instruct systemd to enable the service:

sudo systemctl calyptia-fluent-bit start

If you do a status check, you should see a similar output like this:

sudo service calyptia-fluent-bit status
 calyptia-fluent-bit.service - Calyptia Fluent Bit
   Loaded: loaded (/lib/systemd/system/calyptia-fluent-bit.service; disabled; vendor preset: enabled)
   Active: active (running) since mié 2016-07-06 16:58:25 CST; 2h 45min ago
 Main PID: 6739 (calyptia-fluent-bit)
    Tasks: 1
   Memory: 656.0K
      CPU: 1.393s
   CGroup: /system.slice/calyptia-fluent-bit.service
           └─6739 /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/syslog file.

Last updated