Skip to content

Commit 7f6f123

Browse files
jredelrockb1017
authored andcommitted
allow localtime configuration
1 parent 076ea12 commit 7f6f123

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ data:
9696
{{- end }}
9797
time_key time
9898
time_type string
99-
localtime false
99+
localtime {{ .Values.containers.localTime | default false }}
100100
</parse>
101101
</source>
102102

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ containers:
3838
refreshInterval:
3939
# Boolean to whether to remove blank events or not
4040
removeBlankEvents: true
41+
# Boolean if true, uses local time. UTC. Otherwise, UTC is used
42+
localTime: false
4143

4244
# Directory where to read journald logs. (docker daemon logs, kubelet logs, and anyother specified serivce logs)
4345
journalLogPath: /run/log/journal

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ splunk-kubernetes-logging:
101101
refreshInterval:
102102
# Boolean to whether to remove blank events or not
103103
removeBlankEvents: true
104+
# Boolean if true, uses local time. UTC. Otherwise, UTC is used
105+
localTime: false
104106

105107
# Enriches log record with kubernetes data
106108
k8sMetadata:

0 commit comments

Comments
 (0)