{"action":"created","issue":{"url":"https://api.github.com/repos/nomlab/jay/issues/29","labels_url":"https://api.github.com/repos/nomlab/jay/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/nomlab/jay/issues/29/comments","events_url":"https://api.github.com/repos/nomlab/jay/issues/29/events","html_url":"https://github.com/nomlab/jay/issues/29","id":114966042,"number":29,"title":"Fluentdのセットアップを行う","user":{"login":"ikeda-yuko","id":7124010,"avatar_url":"https://avatars.githubusercontent.com/u/7124010?v=3","gravatar_id":"","url":"https://api.github.com/users/ikeda-yuko","html_url":"https://github.com/ikeda-yuko","followers_url":"https://api.github.com/users/ikeda-yuko/followers","following_url":"https://api.github.com/users/ikeda-yuko/following{/other_user}","gists_url":"https://api.github.com/users/ikeda-yuko/gists{/gist_id}","starred_url":"https://api.github.com/users/ikeda-yuko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikeda-yuko/subscriptions","organizations_url":"https://api.github.com/users/ikeda-yuko/orgs","repos_url":"https://api.github.com/users/ikeda-yuko/repos","events_url":"https://api.github.com/users/ikeda-yuko/events{/privacy}","received_events_url":"https://api.github.com/users/ikeda-yuko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"yoshida564","id":11749661,"avatar_url":"https://avatars.githubusercontent.com/u/11749661?v=3","gravatar_id":"","url":"https://api.github.com/users/yoshida564","html_url":"https://github.com/yoshida564","followers_url":"https://api.github.com/users/yoshida564/followers","following_url":"https://api.github.com/users/yoshida564/following{/other_user}","gists_url":"https://api.github.com/users/yoshida564/gists{/gist_id}","starred_url":"https://api.github.com/users/yoshida564/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoshida564/subscriptions","organizations_url":"https://api.github.com/users/yoshida564/orgs","repos_url":"https://api.github.com/users/yoshida564/repos","events_url":"https://api.github.com/users/yoshida564/events{/privacy}","received_events_url":"https://api.github.com/users/yoshida564/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-11-04T04:16:51Z","updated_at":"2015-11-10T05:43:43Z","closed_at":null,"body":"seiryuでFluentdのセットアップを行う．\r\n"},"comment":{"url":"https://api.github.com/repos/nomlab/jay/issues/comments/155300473","html_url":"https://github.com/nomlab/jay/issues/29#issuecomment-155300473","issue_url":"https://api.github.com/repos/nomlab/jay/issues/29","id":155300473,"user":{"login":"yoshida564","id":11749661,"avatar_url":"https://avatars.githubusercontent.com/u/11749661?v=3","gravatar_id":"","url":"https://api.github.com/users/yoshida564","html_url":"https://github.com/yoshida564","followers_url":"https://api.github.com/users/yoshida564/followers","following_url":"https://api.github.com/users/yoshida564/following{/other_user}","gists_url":"https://api.github.com/users/yoshida564/gists{/gist_id}","starred_url":"https://api.github.com/users/yoshida564/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoshida564/subscriptions","organizations_url":"https://api.github.com/users/yoshida564/orgs","repos_url":"https://api.github.com/users/yoshida564/repos","events_url":"https://api.github.com/users/yoshida564/events{/privacy}","received_events_url":"https://api.github.com/users/yoshida564/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T05:43:43Z","updated_at":"2015-11-10T05:43:43Z","body":"第117回GN談話会の議論を受けて，セットアップ方法を以下のように変更した．\r\n+ bundle install 時に binstubs オプションを用いて，実行ファイルを /home/nomlab/fluentd/bin 以下に配置\r\n+ daemon化して起動\r\n\r\n/home/nomlab/fluentdディレクトリで，bundlerを用いてfluentdのinstallを行った．\r\n具体的には以下のコマンドを実行した．\r\n`$ rbenv local 2.2.3`\r\n`$ gem install bundler`\r\n`$ bundle init`\r\n`$ echo \"gem 'fluentd'\" >> Gemfile`\r\n`$ bundle config build.fluentd —no-ri —nordoc`\r\n`$ bundle install —path vendor/bundle --binstubs`\r\n`$ echo \"export PATH='$HOME/fluentd/bin:$PATH'\" >> /home/nomlab/.bash_profile`\r\n\r\nまた，fluentdのセットアップ，起動を行った．\r\n具体的には以下のコマンドを実行した.\r\nfluentdの設定ファイルを含むfluentディレクトリを作成\r\n`$ fluentd --setup ./fluent`\r\nfluentdの起動(daemon化)\r\n`$ fluentd -c ./fluent/fluent.conf -d ./fluent/fluentd.pid`\r\ndaemon起動に必要となるpidファイルはfluent/fulentd.pidで作成\r\n"}}