Created
May 31, 2014 07:56
-
-
Save zonomasa/99f253e5786999cb2343 to your computer and use it in GitHub Desktop.
Ubuntu14.04 にfluentd をインストールする
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## インストール | |
$ git clone https://github.com/sstephenson/rbenv.git ~/.rbenv | |
$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile | |
$ echo 'eval "$(rbenv init -)"' >> ~/.bash_profile | |
$ git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build | |
$ rbenv install 2.1.2 | |
$ gem install fluent | |
## 確認 | |
$ fluentd --setup ./fluent | |
$ fluentd -c ./fluent/fluent.conf -vv & | |
$ echo '{"json":"message"}' | fluent-cat debug.test | |
2011-07-10 16:49:50 +0900 debug.test: {"json":"message"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment