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 0cc400286d..b41c6b7e4d 100644 --- a/helm-charts/splunk-otel-collector/templates/config/_otel-agent.tpl +++ b/helm-charts/splunk-otel-collector/templates/config/_otel-agent.tpl @@ -644,11 +644,11 @@ service: - filter/logs {{- end }} - batch + - resource {{- if not $gatewayEnabled }} - resource/logs {{- end }} - resourcedetection - - resource {{- if .Values.environment }} - resource/add_environment {{- end }}