logging, aws, amazon linux 2,

Install Fluentd on Amazon Linux 2

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

Fluentd is one of the most popular open-source projects, used for gathering logs from a set of sources and forwarding them to other monitoring software. Here I’m going to show you how to install Fluentd on Amazon Linux 2.

Prerequisites

  • Amazon Linux 2
  • sudo privileges

Install Fluentd on Amazon Linux 2

Step 1. To Install Fluentd we are going to use the official installation scrip provided by fluentd.

curl -L https://toolbelt.treasuredata.com/sh/install-amazon2-td-agent4.sh | sh

Step 2. Once the installation is completed start the Fluentd agent.

sudo systemctl start td-agent.service

Conclusion

Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.