Skip to content

Installing Fluentd on AWS Linux

td-agent was discontinued in December 2023 and has been replaced by fluent-package. The fluent-package is the official successor maintained by the Cloud Native Computing Foundation.

fluent-package is a stable distribution package of Fluentd.

Before Installation

You can learn more about how to prepare for the installation at Fluentd Installation Guide.

Install fluent-package

You can install fluent-package using the following methods. We recommend using fluent-package 6 LTS.

Learn more about how this version compares to earlier versions.

PlatformPlatform VersionPackage
Amazon LinuxAmazon Linux 2023 (64-bit)fluent-package 6 LTS

Amazon Linux 2023

# Amazon Linux 2023 - fluent-package 6 LTS
curl -fsSL https://fluentd.cdn.cncf.io/sh/install-amazon2023-fluent-package6-lts.sh | sh

Launch Daemon

After installation, start and verify the Fluentd service:

sudo systemctl start fluentd.service
sudo systemctl status fluentd.service

The configuration file is located at /etc/fluent/fluentd.conf.

Other Resources