Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e03c11d

Browse files
Make enable_stat_watcher configurable (#839)
* make enable_stat_watcher configurable
1 parent f313037 commit e03c11d

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

‎helm-chart/splunk-connect-for-kubernetes/charts/splunk-kubernetes-logging/templates/configMap.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ data:
8585
pos_file {{ .Values.containers.path }}/splunk-fluentd-containers.log.pos
8686
path_key source
8787
read_from_head true
88+
enable_stat_watcher {{ .Values.containers.enableStatWatcher }}
8889
refresh_interval {{ .Values.containers.refreshInterval | default 60 }}
8990
<parse>
9091
{{- if eq .Values.containers.logFormatType "cri" }}

‎helm-chart/splunk-connect-for-kubernetes/charts/splunk-kubernetes-logging/values.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ containers:
4343
removeBlankEvents: true
4444
# Boolean if true, uses local time. UTC. Otherwise, UTC is used
4545
localTime: false
46+
# Boolean to whether enables the additional inotify-based watcher.
47+
# Setting this parameter to false will disable the inotify events and use only timer watcher for file tailing.
48+
enableStatWatcher: true
4649

4750
# Directory where to read journald logs (docker daemon logs, kubelet logs, and any other specified service logs).
4851
# Journald will use `/var/log/journal` automagically if the directory exists. For example on OpenShift this

‎helm-chart/splunk-connect-for-kubernetes/values.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ splunk-kubernetes-logging:
117117
removeBlankEvents: true
118118
# Boolean if true, uses local time. UTC. Otherwise, UTC is used
119119
localTime: false
120+
# Boolean to whether enables the additional inotify-based watcher.
121+
# Setting this parameter to false will disable the inotify events and use only timer watcher for file tailing.
122+
enableStatWatcher: true
120123

121124
# Enriches log record with kubernetes data
122125
k8sMetadata:

‎manifests/splunk-kubernetes-logging/configMap.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ data:
4848
pos_file /var/log/splunk-fluentd-containers.log.pos
4949
path_key source
5050
read_from_head true
51+
enable_stat_watcher true
5152
refresh_interval 60
5253
<parse>
5354
@type json

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /