-
Bug
-
Resolution: Unresolved
-
Normal
-
Logging 6.0.0
-
False
-
None
-
False
-
NEW
-
NEW
-
Release Note Not Required
-
-
-
Log Collection - Sprint 257, Log Storage - Sprint 261, Log Storage - Sprint 262
-
Important
Description of problem:
Forward logs to grafana OpenTelemetry with below yaml:
apiVersion: observability.openshift.io/v1 kind: ClusterLogForwarder metadata: annotations: observability.openshift.io/tech-preview-otlp-output: "enabled" name: grafana-otlp spec: outputs: - name: otlp type: otlp otlp: authentication: password: key: password secretName: loki-auth username: key: username secretName: loki-auth url: https://otlp-gateway-prod-us-central-0.grafana.net/otlp/v1/logs pipelines: - inputRefs: - application - infrastructure - audit name: audit-logs outputRefs: - otlp serviceAccount: name: logging-otlp
then check logs in grafana console, the value of field `service_name` is always `unknown_service`.
Version-Release number of selected component (if applicable):
cluster-logging.v6.0.0
How reproducible:
Always
Steps to Reproduce:
Actual results:
Expected results:
We should set correct value for the field `service_name`