From 7a83659ea2604a53aa62040fcd4685afaa28056b Mon Sep 17 00:00:00 2001 From: Yotam loewenbach Date: Tue, 26 Mar 2024 20:58:37 +0700 Subject: [PATCH 1/8] Add `LogFileRefreshInterval` + `enabled` --- charts/fluentd/values.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/charts/fluentd/values.yaml b/charts/fluentd/values.yaml index ee0f293c..d3ccba1a 100644 --- a/charts/fluentd/values.yaml +++ b/charts/fluentd/values.yaml @@ -1,3 +1,4 @@ +enabled: true # Fluentd image in daemonset image: logzio/logzio-fluentd # Fluentd image tag @@ -87,6 +88,8 @@ daemonset: # Container runtime interface of the cluster. Used to determine which configuration to use when concatenating partial logs. # Valid options are: docker, containerd cri: containerd + # The interval of refreshing the list of watch file for log files. + LogFileRefreshInterval: 60s # Specifies which plugin to use as the backend logzioBufferType: file # Path of the buffer @@ -170,6 +173,8 @@ windowsDaemonset: # Container runtime interface of the cluster. Used to determine which configuration to use when concatenating partial logs. # Valid options are: docker, containerd cri: containerd + # The interval of refreshing the list of watch file for log files. + LogFileRefreshInterval: 60s # Specifies which plugin to use as the backend logzioBufferType: file # Path of the buffer @@ -304,6 +309,7 @@ configmap: exclude_path "#{ENV['EXCLUDE_PATH'].split(',')}" tag logzio.kubernetes.* read_from_head true + refresh_insterval "#{ENV['LOG_FILE_REFRESH_INTERVAL']}" @type multi_format @@ -329,6 +335,7 @@ configmap: path /var/log/salt/minion pos_file /var/log/fluentd-salt.pos tag logzio.salt + refresh_insterval "#{ENV['LOG_FILE_REFRESH_INTERVAL']}" @type regexp expression /^(?