logging, aws, amazon linux 2,

Install Fluent Bit on Amazon Linux 2

Jun 26, 2022 · 1 min read · Post a comment

Same as Fluentd, Fluent Bit doesn’t belong in the official Amazon Linux yum repositories as well. The installation will be pretty much the same through fluent bit shell script. So let’s see how to install Fluent Bit on Amazon Linux 2.

Prerequisites

  • Amazon Linux 2
  • sudo privileges

Install Fluent Bit on Amazon Linux 2

Step 1. Execute the following line to install Fluent Bit on Amazon Linux 2.

curl https://raw.githubusercontent.com/fluent/fluent-bit/master/install.sh | sh

Step 2. Make sure that the installation is done successfully. Once is done start the fluent bit service.

sudo service fluent-bit start

Conclusion

If you face any errors during the installation script, don’t hesitate to put them in the comments below. And, if you find this tutorial useful, follow our official channel on Telegram.