Install From Source
Last updated
Was this helpful?
Last updated
Was this helpful?
This article explains how to install Fluentd from source code (git repository). This is useful for developers.
Please install Ruby >= 1.9.3 and bundler on your local environment.
Fetch the source code from github. The official repository is located .
master branch is now for v1.x development so you need to checkout v0.12 branch.
Build the package with rake
and install it with gem
.
Run the following commands to to confirm that Fluentd was installed successfully:
The last command sends Fluentd a message '{"json":"message"}' with a "debug.test" tag. If the installation was successful, Fluentd will output the following message:
It's HIGHLY recommended that you set up ntpd on the node to prevent invalid timestamps in your logs.
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
For large deployments, you must use to avoid memory fragmentation. This is already included in the and packages.
, , , ,
, ,
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.