td-agent is a stable distribution package of fluentd, which is maintained by Arm Treasure Data.
The installation from Ruby gem is difficult for many users, so we created a distribution that is easier to install and use. The detailed difference between fluentd and td-agent can be found here.
For MacOS X, we’re using Homebrew packaging manager, to distribute td-agent.
Make sure you that you have brew command. If needed, execute the following command to install homebrew on your Mac.
$ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
$ which brew
Use brew install to fetch td-agent formula to install td-agent.
$ brew install "http://toolbelt.treasure-data.com/brew/td-agent.rb"
You can launch td-agent in a foreground process.
2013-04-19 16:55:03 -0700 [info]: starting fluentd-0.10.33
2013-04-19 16:55:03 -0700 [info]: reading config file path="/usr/local/etc/td-agent/td-agent.conf"
The logs are located under */usr/local/var/log/td-agent/td-agent.log*. The config file is located at */usr/local/etc/td-agent/td-agent.conf*. After its modification, restart the agent.