From d1b9995756b338fcb4ccd90c489dc37ee4361e1f Mon Sep 17 00:00:00 2001 From: Daniel Jaglowski Date: Wed, 7 Apr 2021 14:51:03 -0400 Subject: [PATCH] Strip wrapper off of filelog body (#43) This PR follows [#2873 (collector-contrib)](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/2873) --- charts/opentelemetry-collector/Chart.yaml | 2 +- charts/opentelemetry-collector/templates/_config.tpl | 10 +++------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/charts/opentelemetry-collector/Chart.yaml b/charts/opentelemetry-collector/Chart.yaml index 6a7b751e5..a20d13bb7 100644 --- a/charts/opentelemetry-collector/Chart.yaml +++ b/charts/opentelemetry-collector/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: opentelemetry-collector -version: 0.5.2 +version: 0.5.3 description: OpenTelemetry Collector Helm chart for Kubernetes type: application home: https://opentelemetry.io/ diff --git a/charts/opentelemetry-collector/templates/_config.tpl b/charts/opentelemetry-collector/templates/_config.tpl index 6262af871..df03d17c4 100644 --- a/charts/opentelemetry-collector/templates/_config.tpl +++ b/charts/opentelemetry-collector/templates/_config.tpl @@ -189,13 +189,9 @@ receivers: - type: restructure id: clean-up-log-record ops: - - remove: logtag - - remove: stream - - remove: container_name - - remove: namespace - - remove: pod_name - - remove: run_id - - remove: uid + - move: + from: log + to: $ service: pipelines: logs: