From f19e26e0507c3b5caf90d21e0c4a662399b848b1 Mon Sep 17 00:00:00 2001 From: lefteris Date: Sat, 27 Mar 2021 22:06:21 +0200 Subject: [PATCH] no stream yet --- fluent/fluent-conf.sample | 33 -------------------------------- fluent/fluent.conf | 40 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 33 deletions(-) delete mode 100644 fluent/fluent-conf.sample create mode 100644 fluent/fluent.conf diff --git a/fluent/fluent-conf.sample b/fluent/fluent-conf.sample deleted file mode 100644 index 24a37b5..0000000 --- a/fluent/fluent-conf.sample +++ /dev/null @@ -1,33 +0,0 @@ - - @type forward - @id input1 - @label @mainstream - port 24224 - - - - @type stdout - - - diff --git a/fluent/fluent.conf b/fluent/fluent.conf new file mode 100644 index 0000000..74ebde2 --- /dev/null +++ b/fluent/fluent.conf @@ -0,0 +1,40 @@ + + @type forward + port 24224 + bind 0.0.0.0 + + + + @type parser + key_name log + reserve_data true + + @type json # apache2, nginx, etc. + + + + + # @type copy + # + # @type stdout + # + # + @type mongo + + host mongo + port 27017 + + database fluentdb + collection test + + capped + capped_size 1024m + # interval + + flush_interval 10s + + # + + @type json + +