kazu634/chef — pull request #73 by kazu634 (2014-10-05 14:39:57+00:00)
Title: [GrowthForecast] nginxのログを集約し、グラフ化する

## プラグイン

- fluent-plugin-rewrite-tag-filter
- fluent-plugin-amplifier-filter
- fluent-plugin-datacounter
- fluent-plugin-forest
- fluent-plugin-growthforecast

```
PLUGIN="foo"

sudo /usr/lib/fluent/ruby/bin/fluent-gem list | grep ${PLUGIN}

if [ $? -ne 0]; then
sudo /usr/lib/fluent/ruby/bin/fluent-gem install ${PLUGIN}
fi
```

## /var/log/nginx の権限変更
- `/var/log/nginx`の権限を変更して読み込み可能にする
- `logrotated`の設定変更も必要かも