# Make Kubernetes logs easier to correlate with traces using the log normalizer operator

DevFeed: [Make Kubernetes logs easier to correlate with traces using the log normalizer operator](<https://devfeed.tech/articles/make-kubernetes-logs-easier-to-correlate-with-traces-using-the-log-normalizer-operator-121178.md>)

Original publisher: [Read original article](<https://developers.redhat.com/articles/2026/11/06/make-kubernetes-logs-easier-to-correlate-with-traces-using-the-log-normalizer-operator>)

Author: Denis Moskalenko

Published: 2026-11-06T13:01:47Z

Content type: article

Language: en

Sources: [Red Hat](<https://devfeed.tech/sources/red-hat.md>), [Red Hat Developer](<https://devfeed.tech/sources/red-hat-developer.md>)

Topics: [log management](<https://devfeed.tech/topics/log-management.md>), [telemetry](<https://devfeed.tech/topics/telemetry.md>), [observability pipelines](<https://devfeed.tech/topics/observability-pipelines.md>), [OpenTelemetry](<https://devfeed.tech/topics/opentelemetry.md>), [kubectl](<https://devfeed.tech/topics/kubectl.md>)

Tags: [collector](<https://devfeed.tech/tags/collector.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [logs](<https://devfeed.tech/tags/logs.md>), [observability](<https://devfeed.tech/tags/observability.md>), [openshift](<https://devfeed.tech/tags/openshift.md>), [opentelemetry](<https://devfeed.tech/tags/opentelemetry.md>), [opentelemetry-collector](<https://devfeed.tech/tags/opentelemetry-collector.md>), [operator](<https://devfeed.tech/tags/operator.md>), [red-hat-openshift](<https://devfeed.tech/tags/red-hat-openshift.md>), [sidecar](<https://devfeed.tech/tags/sidecar.md>), [traces](<https://devfeed.tech/tags/traces.md>)

## AI overview

The Log Normalizer Operator standardizes heterogeneous Kubernetes logs at pod admission, enabling correlation with traces without changing application code. A namespace selector triggers a webhook to inject a sidecar and wrapper; the wrapper tees stdout and stderr through a named pipe, and the sidecar detects common formats, reassembles multiline entries, and emits structured JSON with fields such as timestamp, level, message, trace and span IDs, and Kubernetes identity. Records remain available through Kubernetes logs and can optionally go to an OpenTelemetry collector over OTLP; Korrel8r can use shared context, but its configuration and backends remain deployment-specific. The deployment model requires native sidecar support (Kubernetes 1.33+ or OpenShift 4.18+); existing pods need recreation, and failed image entrypoint resolution can leave a container unwrapped. The webhook's Ignore failure policy lets pods start without injection during outages. The sidecar complements rather than replaces the collector. Reported resource and latency measurements are workload-specific, and the operator does not define production redaction or sampling policies.

## Source excerpt

The log normalizer operator for Red Hat OpenShift injects a sidecar into selected pods, captures application output without requiring application code changes, detects the input format, reassembles multiline entries, and emits a consistent structured record. The normalized record remains available through kubectl logs and can also be exported to an OpenTelemetry collector over OTLP. The post Make Kubernetes logs easier to correlate with traces using the log normalizer operator appeared first on Red Hat Developer.