fluentdのインストール方法はrpmやyumを利用する方法があります。
今回の検証ではソースをコンパイルしてインストールしてみます。

[root@node01 ~]# git clone https://github.com/fluent/fluentd.git
Initialized empty Git repository in /root/fluentd/.git/
remote: Counting objects: 12896, done.
remote: Total 12896 (delta 0), reused 0 (delta 0), pack-reused 12896
Receiving objects: 100% (12896/12896), 12.95 MiB | 2.98 MiB/s, done.
Resolving deltas: 100% (7282/7282), done.


ソースはgithubからダウンロードしてきます。

[root@node01 ~]# cd fluentd/
[root@node01 fluentd]# bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
Fetching gem metadata from https://rubygems.org/.........
Fetching version metadata from https://rubygems.org/..
Resolving dependencies...
Using rake 10.4.2
Installing cool.io 1.4.1 with native extensions
Installing flexmock 1.3.3
Installing http_parser.rb 0.6.0 with native extensions
Installing json 1.8.3 with native extensions
Installing msgpack 0.5.12 with native extensions
Installing sigdump 0.2.3
Installing string-scrub 0.0.5 with native extensions
Installing thread_safe 0.3.5
Installing tzinfo 1.2.2
Installing tzinfo-data 1.2015.7
Installing yajl-ruby 1.2.1 with native extensions
Using fluentd 0.12.16 from source at .
Installing multi_json 1.11.2
Installing parallel 1.6.1
Installing parallel_tests 1.9.0
Installing power_assert 0.2.4
Installing rr 1.1.2
Installing simplecov-html 0.5.3
Installing simplecov 0.6.4
Installing test-unit 3.1.5
Installing test-unit-rr 1.0.3
Installing timecop 0.8.0
Using bundler 1.10.6
Bundle complete! 9 Gemfile dependencies, 24 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.


bundleを使ってgemをインストールします。

[root@node01 fluentd]# bundle exec rake build
fluentd 0.12.16 built to pkg/fluentd-0.12.16.gem.

[root@node01 fluentd]# gem install pkg/fluentd-0.12.16.gem
Successfully installed fluentd-0.12.16
Parsing documentation for fluentd-0.12.16
Installing ri documentation for fluentd-0.12.16
Done installing documentation for fluentd after 5 seconds
1 gem installed


ソースのbuild、インストールを行ないます。

[root@node01 fluentd]# whereis fluentd
fluentd: /usr/local/bin/fluentd


whereisコマンドでfluentdのモジュールがインストールされたことを確認できました。
これでfluentdはインストールされました。

[root@node01 fluentd]# fluentd --setup ./fluent
Installed ./fluent/fluent.conf.


設定ファイルの原本を作成します。

[root@node01 fluentd]# fluentd -c ./fluent/fluent.conf -vv &
[1] 20719


作成した原本を利用してfluentdを起動します。

[root@node01 fluentd]# echo '{"json":"message"}' | fluent-cat debug.test
2015-10-23 00:12:58 +0900 [trace]: plugin/in_forward.rb:194:initializ              
 fluent socket from '127.0.0.1:25455': object_id=69934454875520
2015-10-23 00:12:58 +0900 debug.test: {"json":"message"}
2015-10-23 00:12:58 +0900 [trace]: plugin/in_forward.rb:262:on_close:              
ket


fluentを通したテストメッセージが入出力ログに表示されることを確認しています。