From 96b21a6bcc0b5fe1dd0f545163855e61e4876352 Mon Sep 17 00:00:00 2001 From: lefteris Date: Wed, 14 Apr 2021 23:15:52 +0300 Subject: [PATCH] config changes for mongo --- fluent/fluent.conf | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/fluent/fluent.conf b/fluent/fluent.conf index 7300e30..0027af7 100644 --- a/fluent/fluent.conf +++ b/fluent/fluent.conf @@ -4,14 +4,22 @@ bind 0.0.0.0 - - @type parser - key_name log - reserve_data true - - @type json # apache2, nginx, etc. - - +# +# @type parser +# key_name log +# reserve_data true +# +# @type json # apache2, nginx, etc. +# +# + +# +# @type record_transformer + +# # remove key1 and key2 keys from record +# remove_keys $.log.t +# + @type copy