Treasure Agent (td-agent) is a stable distribution package of Fluentd, which is maintained by Treasure Data and the Cloud Native Computing Foundation.
You can learn more about how to prepare for the installation at Fluentd Installation Guide.
You can either install or upgrade from a previous version using the following methods. We recommend the latest version of td-agent, which can be downloaded from www.fluentd.org.
Learn more about how this version compares to earlier versions.
| Platform | Platform Version | Package or Installer |
|---|---|---|
| Amazon Linux | Amazon Linux 2 (64-bit) | td-agent v4 |
| Amazon Linux | Amazon Linux 1 (64-bit) | td-agent v3 (legacy) |
Amazon Linux repositories typically support two 64-bit releases at a time. For example, if the latest version is 2017.09, packages are provided for both 2017.09 and 2017.03.
# Amazon Linux 2 (td-agent 4)
curl -L https://toolbelt.treasuredata.com/sh/install-amazon2-td-agent4.sh | sh
# Legacy support for EOL Amazon Linux 1 (td-agent 3)
curl -L https://toolbelt.treasuredata.com/sh/install-amazon1-td-agent3.sh | shThe scripts rely on $releasever being formatted as year.month (for example 2017.09). Some AWS services override this format, which causes installation failures. If your environment’s $releasever differs, update it to match the expected format or set up the Treasure Data repository manually.