Installing td-agent for Debian and Ubuntu
What's td-agent?
td-agent is a stable distribution package of fluentd, which is maintained by Treasure Data, Inc.
Installation
Currently, "Ubuntu 12.04 LTS / Precise", "Ubuntu 10.04 LTS / Lucid" are supported.
Ubuntu Precise
Please add the Treasure Data apt packages repository to your sources list. This command will set it up for you:
$ curl -L http://toolbelt.treasure-data.com/sh/install-ubuntu-precise.sh | sh
Ubuntu Lucid
Please add the Treasure Data apt packages repository to your sources list. This command will set it up for you:
$ curl -L http://toolbelt.treasure-data.com/sh/install-ubuntu-lucid.sh | sh
init.d scripts
/etc/init.d/td-agent script is also provided to start, stop, or restart the agent.
$ /etc/init.d/td-agent start
$ /etc/init.d/td-agent stop
$ /etc/init.d/td-agent restart
The logs are located under /var/log/td-agent. The daemon is running in td-agent user and td-agent group.
The config file is located at /etc/td-agent/td-agent.conf. After its modification, please restart the agent.
Cookbook
We're providing OpsCode chef cookbook, to automate this process. Please have a look at it.
Other Resources
The ChangeLog for td-agent is available here.
For those who are using TreasureData Hadoop-based cloud data warehousing, please refer this document.