From 4646e20caa8901126d9bc39e3f4f5debfd574920 Mon Sep 17 00:00:00 2001 From: zeus Date: Sun, 21 Nov 2021 20:51:26 +0200 Subject: [PATCH] add fluentd --- WriteToMongo/fluent/install-fluent.sh | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/WriteToMongo/fluent/install-fluent.sh b/WriteToMongo/fluent/install-fluent.sh index 7bc7c2b..fdb3e2d 100755 --- a/WriteToMongo/fluent/install-fluent.sh +++ b/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/