Browse Source

add fluentd

master
zeus 3 years ago
parent
commit
80dd619ac0
  1. 10
      WriteToMongo/fluent/install-fluent.sh

10
WriteToMongo/fluent/install-fluent.sh

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

Loading…
Cancel
Save