From 8c3c52b1e021a20ccc50729bea587a4c0c6ef85b Mon Sep 17 00:00:00 2001 From: Dmitry Date: Fri, 19 Nov 2021 09:12:18 -0800 Subject: [PATCH] Change log "stream' attribute according to OTel semantic conventions Rename `stream` log attribute to `log.iostream` according to [OTel semantic conventions](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/semantic_conventions/media.md#io-stream) --- .../splunk-otel-collector/templates/config/_otel-agent.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm-charts/splunk-otel-collector/templates/config/_otel-agent.tpl b/helm-charts/splunk-otel-collector/templates/config/_otel-agent.tpl index edfa0f8197..9bf77516b6 100644 --- a/helm-charts/splunk-otel-collector/templates/config/_otel-agent.tpl +++ b/helm-charts/splunk-otel-collector/templates/config/_otel-agent.tpl @@ -209,7 +209,7 @@ receivers: k8s.pod.name: 'EXPR($$.pod_name)' com.splunk.sourcetype: 'EXPR("kube:container:"+$$.container_name)' attributes: - stream: 'EXPR($$.stream)' + log.iostream: 'EXPR($$.stream)' {{- if .Values.logsCollection.containers.multilineConfigs }} - type: router routes: