Amazon Linux
Fluent Bit is distributed as the fluent-bit package and is available for Amazon Linux 2 and Amazon Linux 2023. The following architectures are supported:
x86_64
aarch64 / arm64v8
Install on Amazon EC2
To install Fluent Bit and related AWS output plugins on Amazon Linux 2 on EC2 using AWS Systems Manager, follow this AWS guide.
General installation
To install Fluent Bit on any Amazon Linux instance, follow these steps.
Fluent Bit is provided through a Yum repository. To add the repository reference to your system, add a new file called
fluent-bit.repoin/etc/yum.repos.d/with the following content:
[fluent-bit]
name = Fluent Bit
baseurl = https://packages.fluentbit.io/amazonlinux/2/
gpgcheck=1
gpgkey=https://packages.fluentbit.io/fluentbit.key
enabled=1[fluent-bit]
name = Fluent Bit
baseurl = https://packages.fluentbit.io/amazonlinux/2023/
gpgcheck=1
gpgkey=https://packages.fluentbit.io/fluentbit.key
enabled=1Ensure your GPG key is up to date.
After your repository is configured, run the following command to install it:
sudo yum install fluent-bitInstruct
systemdto 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?