From bbd6d25429030eae044790d812ef3640c08d481b Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Fri, 2 Oct 2020 14:41:40 -0700 Subject: [PATCH] Disable borken json parsing for now --- charts/kubezero-logging/values.yaml | 58 ++++++++++------------------- 1 file changed, 20 insertions(+), 38 deletions(-) diff --git a/charts/kubezero-logging/values.yaml b/charts/kubezero-logging/values.yaml index 17d1faba..79e5d9dc 100644 --- a/charts/kubezero-logging/values.yaml +++ b/charts/kubezero-logging/values.yaml @@ -102,6 +102,23 @@ fluentd: readOnly: true configMaps: + general.conf: | + + + @type http + port 9880 + bind 0.0.0.0 + keepalive_timeout 30 + + + @type monitor_agent + bind 0.0.0.0 + port 24220 + tag fluentd.monitor.metrics + + forward-input.conf: | @type forward @@ -161,53 +178,18 @@ fluentd: filter.conf: | - + @type parser key_name message remove_key_name_field true reserve_data true + # inject_key_prefix message_json. emit_invalid_record_to_error false @type json -# -# @type parser -# key_name message -# reserve_data true -# reserve_time true -# -# @type grok -# -# # SSH -# -# pattern %{DATA:system.auth.ssh.event} %{DATA:system.auth.ssh.method} for (invalid user )?%{DATA:system.auth.user} from %{IPORHOST:system.auth.ip} port %{NUMBER:system.auth.port} ssh2(: %{GREEDYDATA:system.auth.ssh.signature})? -# -# -# pattern %{DATA:system.auth.ssh.event} user %{DATA:system.auth.user} from %{IPORHOST:system.auth.ip} -# -# -# # sudo -# -# pattern \s*%{DATA:system.auth.user} :( %{DATA:system.auth.sudo.error} ;)? TTY=%{DATA:system.auth.sudo.tty} ; PWD=%{DATA:system.auth.sudo.pwd} ; USER=%{DATA:system.auth.sudo.user} ; COMMAND=%{GREEDYDATA:system.auth.sudo.command} -# -# -# # Users -# -# pattern new group: name=%{DATA:system.auth.groupadd.name}, GID=%{NUMBER:system.auth.groupadd.gid} -# -# -# pattern new user: name=%{DATA:system.auth.useradd.name}, UID=%{NUMBER:system.auth.useradd.uid}, GID=%{NUMBER:system.auth.useradd.gid}, home=%{DATA:system.auth.useradd.home}, shell=%{DATA:system.auth.useradd.shell}$ -# -# -# -# pattern %{GREEDYDATA:message} -# -# -# - - fluent-bit: enabled: false test: @@ -230,7 +212,7 @@ fluent-bit: Path /var/log/containers/*.log Parser cri Tag kube.* - Mem_Buf_Limit 8MB + Mem_Buf_Limit 16MB Skip_Long_Lines On Refresh_Interval 10 Exclude_Path *.gz,*.zip