From c598b985f2fc685a8b4c1a97857025b6d83b283c Mon Sep 17 00:00:00 2001 From: zeus Date: Fri, 4 Mar 2022 17:42:05 +0200 Subject: [PATCH] add cloud info --- .../modules/ROOT/pages/ansible.adoc | 97 +++++++++++++++++++ 1 file changed, 97 insertions(+) diff --git a/CloudComputing_Lab/modules/ROOT/pages/ansible.adoc b/CloudComputing_Lab/modules/ROOT/pages/ansible.adoc index 2133075..7dde0cd 100755 --- a/CloudComputing_Lab/modules/ROOT/pages/ansible.adoc +++ b/CloudComputing_Lab/modules/ROOT/pages/ansible.adoc @@ -206,3 +206,100 @@ # ---- + + + +== Playbook files + +=== fluentd conf file + +[source,sh] +---- +# config + + @type stdout + + +# input + + @type tail + + path /var/log/*.log + path_key tailed_path + + tag stats.node + + # parse json + + @type json + + + pos_file /tmp/fluentd--1605454018.pos + + + +# input + + @type tail + + path /var/log-in/*/* + path_key tailed_path + + tag log.node + + # parse none + + @type none + + + pos_file /tmp/fluentd--1605454014.pos + + + +# output http + + @type copy +# +# @type mongo_replset +# +# database fluent +# collection logs +# nodes ondemand_mongo1:27017,ondemand_mongo2:27017,ondemand_mongo3:27017,ondemand_mongo4:27017,ondemand_mongo5:27017,ondemand_mongo6:27017,ondemand_mongo7:27017 +# +# user myusername +# password mypassword +# +# replica_set rs1 +# num_retries 60 +# capped +# capped_size 100m +# +# +# +# flush_interval 20s +# +# + + @type stdout + + + + @type file + path /tmp/mylog + + timekey 1d + timekey_use_utc true + timekey_wait 10s + + + + + + + + @type copy + + @type stdout + + +