Skip to content

Commit

Permalink
Exclude groupbyattrs processor from native logs collection pipeline (#…
Browse files Browse the repository at this point in the history
…219)

"groupbyattrs/logs" processor is needed to process fluentd logs only, not needed in the native logs collection pipeline
  • Loading branch information
dmitryax committed Oct 8, 2021
1 parent 1fd6e4f commit eab0889
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ processors:
{{- end }}
{{- end }}
{{- if .Values.fluentd.enabled }}
# Move flat fluentd logs attributes to resource attributes
groupbyattrs/logs:
keys:
Expand All @@ -289,6 +290,7 @@ processors:
- k8s.namespace.name
- k8s.pod.name
- k8s.pod.uid
{{- end }}
{{- if not .Values.otelCollector.enabled }}
{{- include "splunk-otel-collector.resourceLogsProcessor" . | nindent 2 }}
Expand Down Expand Up @@ -415,7 +417,9 @@ service:
- otlp
processors:
- memory_limiter
{{- if .Values.fluentd.enabled }}
- groupbyattrs/logs
{{- end }}
- k8s_tagger
- batch
{{- if not .Values.otelCollector.enabled }}
Expand Down

0 comments on commit eab0889

Please sign in to comment.