Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-6327

[OTEL] JSONParserErr if show histogram for infrastructure and audit logs

XMLWordPrintable

    • False
    • None
    • False
    • NEW
    • NEW
    • Bug Fix

      Description of problem:

      Can not show histogram for infra logs

      pipeline error: 'JSONParserErr' for series: '{__error__="JSONParserErr", __error_details__="Value looks like object, but can't find closing '}' symbol", detected_level="error", k8s_container_name="kube-rbac-proxy-web", k8s_namespace_name="openshift-monitoring", k8s_node_name="anliazurests-l76ck-worker-eastus3-gsf7c", k8s_pod_label_app_kubernetes_io_component="prometheus", k8s_pod_label_app_kubernetes_io_instance="k8s", k8s_pod_label_app_kubernetes_io_managed_by="prometheus-operator", k8s_pod_label_app_kubernetes_io_name="prometheus", k8s_pod_label_app_kubernetes_io_part_of="openshift-monitoring", k8s_pod_label_app_kubernetes_io_version="2.55.0", k8s_pod_label_apps_kubernetes_io_pod_index="1", k8s_pod_label_controller_revision_hash="prometheus-k8s-695c8595dd", k8s_pod_label_operator_prometheus_io_name="k8s", k8s_pod_label_operator_prometheus_io_shard="0", k8s_pod_label_prometheus="k8s", k8s_pod_label_statefulset_kubernetes_io_pod_name="prometheus-k8s-1", k8s_pod_name="prometheus-k8s-1", k8s_pod_uid="6a4c8119-a592-4fe8-895f-cb4fad0bbe5f", kubernetes_container_name="kube-rbac-proxy-web", kubernetes_host="anliazurests-l76ck-worker-eastus3-gsf7c", kubernetes_namespace_name="openshift-monitoring", kubernetes_pod_name="prometheus-k8s-1", log_iostream="stderr", log_source="container", log_type="infrastructure", observed_timestamp="1730204946564101453", openshift_cluster_id="310ad5ab-6279-4909-a4ba-d22f1c3887cf", openshift_cluster_uid="310ad5ab-6279-4909-a4ba-d22f1c3887cf", openshift_log_source="container", openshift_log_type="infrastructure", severity_text="info"}'. Use a label filter to intentionally skip this error. (e.g | __error__!="JSONParserErr"). To skip all potential errors you can match empty errors.(e.g __error__="") The label filter can also be specified after unwrap. (e.g | unwrap latency | __error__="" )
      
      

      Can not show histogram for audit logs

      pipeline error: 'JSONParserErr' for series: '{__error__="JSONParserErr", __error_details__="Value looks like object, but can't find closing '}' symbol", k8s_node_name="anliazurests-l76ck-worker-eastus3-gsf7c", kubernetes_host="anliazurests-l76ck-worker-eastus3-gsf7c", log_source="auditd", log_type="audit", observed_timestamp="1730205052089491374", openshift_cluster_id="310ad5ab-6279-4909-a4ba-d22f1c3887cf", openshift_cluster_uid="310ad5ab-6279-4909-a4ba-d22f1c3887cf", openshift_log_source="auditd", openshift_log_type="audit"}'. Use a label filter to intentionally skip this error. (e.g | __error__!="JSONParserErr"). To skip all potential errors you can match empty errors.(e.g __error__="") The label filter can also be specified after unwrap. (e.g | unwrap latency | __error__="" )
      

      How reproducible:

      Always

      Steps to Reproduce:

      1. On tab observe->Logs , select infrastructure or audit logs type
      2. Click histogram

      Actual results:

              gbernal@redhat.com Gabriel Bernal
              rhn-support-anli Anping Li
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: