Install By Dmg
Last updated
Was this helpful?
Last updated
Was this helpful?
This article explains how to install td-agent, the stable Fluentd distribution package maintained by , on MacOS X.
Fluentd is written in Ruby for flexibility, with performance sensitive parts written in C. However, casual users may have difficulty installing and operating a Ruby daemon.
That's why is providing the stable distribution of Fluentd, called td-agent
. The differences between Fluentd and td-agent can be found .
For MacOS X, we're using the OS native .dmg Installer to distribute td-agent.
Please download the .dmg
file from here, and install the software.
You can launch td-agent
with launchctl
command. Please make sure the daemon started correctly from the log (/var/log/td-agent/td-agent.log
).
Your configuration file is located at /etc/td-agent/td-agent.conf
. Your plugin directory is at /etc/td-agent/plugin
. In case you want to stop the agent, please execute the command below.
By default, /etc/td-agent/td-agent.conf
is configured to take logs from HTTP and route them to stdout (/var/log/td-agent/td-agent.log
). You can post sample log records using the curl command.
td-agent for Mac doesn't provide uninstallation app unlike rpm / deb. If you want to uninstall td-agent from your Mac, remove these files / directories.
/Library/LaunchDaemons/td-agent.plist
/etc/td-agent
/opt/td-agent
/var/log/td-agent
You're now ready to collect your real logs using Fluentd. Please see the following tutorials to learn how to collect your data from various data sources.
Basic Configuration
Application Logs
Examples
Please refer to the resources below for further steps.
, , , ,
, ,
If this article is incorrect or outdated, or omits critical information, please . is a open source project under . All components are available under the Apache 2 License.