-
Bug
-
Resolution: Done
-
None
-
10
-
False
-
False
-
CLOSED
-
CNV-12456 - Infrastructure log integration with Loki
-
CNV I/U Operators Sprint 229
-
Important
-
None
Description of problem:
The CNV specific labels are not parsed as expected and are all saeved as "kuberbetes.flat_labels".
We may need to have the logs in Json format in the logs, based on https://issues.redhat.com/browse/LOG-785
Version-Release number of selected component (if applicable):
4.10
How reproducible:
100%
Steps to Reproduce:
1.Install OCP+CNV+OpenShift Logging
2.Go Kibana -> Discover tab
3.Filter the logs by the openshift-cnv namespace
4. Check the labels
For exapmple:
name=hyperconverged-cluster-operator,
pod-template-hash=56585bf977,
app_kubernetes_io/component=deployment,
app_kubernetes_io/managed-by=olm,
app_kubernetes_io/part-of=hyperconverged-cluster, app_kubernetes_io/version=4.10.0
Actual results:
All labels are under the "kuberbetes.flat_labels" field.
Expected results:
Each label should be in a separate field so that we can query it separately.
Additional info: