File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
helm-charts/splunk-otel-collector Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 1
1
apiVersion : v2
2
2
name : splunk-otel-collector
3
- version : 0.24.1
3
+ version : 0.24.2
4
4
description : Splunk OpenTelemetry Connector for Kubernetes
5
5
type : application
6
6
keywords :
Original file line number Diff line number Diff line change @@ -35,15 +35,15 @@ data:
35
35
<source>
36
36
@type prometheus_monitor
37
37
<labels>
38
- host ${hostname}
38
+ host.name ${hostname}
39
39
</labels>
40
40
</source>
41
41
42
42
# input plugin that collects metrics for output plugin
43
43
<source>
44
44
@type prometheus_output_monitor
45
45
<labels>
46
- host ${hostname}
46
+ host.name ${hostname}
47
47
</labels>
48
48
</source>
49
49
@@ -204,6 +204,12 @@ data:
204
204
</match>
205
205
</label>
206
206
<label @SPLUNK>
207
+ <filter **>
208
+ @type record_transformer
209
+ <record>
210
+ host.name "#{ENV['K8S_NODE_NAME']}"
211
+ </record>
212
+ </filter>
207
213
# Enrich log with k8s metadata
208
214
<filter tail.containers.**>
209
215
@type kubernetes_metadata
@@ -360,6 +366,7 @@ data:
360
366
k8s.node.name node_name
361
367
k8s.cluster.name cluster_name
362
368
container.id container_id
369
+ host.name
363
370
{{- range .Values.extraAttributes.custom }}
364
371
{{ .name }}
365
372
{{- end }}
You can’t perform that action at this time.
0 commit comments