Browse Source

add fluentd

master
zeus 3 years ago
parent
commit
4646e20caa
  1. 23
      WriteToMongo/fluent/install-fluent.sh

23
WriteToMongo/fluent/install-fluent.sh

@ -7,12 +7,21 @@ echo $BASEDIR
cd $BASEDIR
sudo -u node gem install fluentd --no-doc
sudo -u node gem install fluent-plugin-mongo
sudo -u node gem install oj
sudo -u node gem install json
sudo -u node gem install async-http
sudo -u node gem install ext_monitor
sudo -u node gem install gem sources --clear-all
#sudo -u node gem install fluentd --no-doc
#sudo -u node gem install fluent-plugin-mongo
#sudo -u node gem install oj
#sudo -u node gem install json
#sudo -u node gem install async-http
#sudo -u node gem install ext_monitor
#sudo -u node gem install gem sources --clear-all
gem install fluentd --no-doc
gem install fluent-plugin-mongo
gem install oj
gem install json
gem install async-http
gem install ext_monitor
gem install gem sources --clear-all
cp fluent.conf /fluentd/etc/

Loading…
Cancel
Save