Uploaded image for project: 'Observability UI'
  1. Observability UI
  2. OU-817

The query include `| json` when loggingUI plugin otel shema is selected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • COO 1.2.0
    • COO 1.2.0
    • logging-plugin
    • None
    • None
    • None
    • Sprint 272
    • None
    • None
    • None

      When loggingUI plugin is enabled with otel schema. The query is still using `| json` parsing. No such issue when schema=select in UIPlugin and we select otel in Log Panned.

      apiVersion: observability.openshift.io/v1alpha1
      kind: UIPlugin
      metadata:
        name: logging
      spec:
        logging:
          lokiStack:
            name: logging-loki
            namespace: openshift-logging
          schema: otel
        type: Logging
      
      

      Step to Reproduce:

      1) deploy COO 1.2 or 1.3
      2) update CSV observability-operator.v1.3.0-250522212436 using latest release-6.1 code. (my image: quay.io/anli/clo:ui or quay.io/redhat-user-workloads/cluster-observabilit-tenant/cluster-observability-operator/logging-console-plugin-6-1-rhel9@sha256:61b51d18ca854ea815260f2f18f86e1e29fd8aed9af8e4dbc113938408b2307a )

                    containers:
                    - args:
                      - --namespace=$(NAMESPACE)
                      ..............
                      - --images=ui-logging=quay.io/anli/clo:ui
                      - --openshift.enabled=true
                      name: operator
      
      

      3) Enable LoggingUI Plugin using schema: Otel

      apiVersion: observability.openshift.io/v1alpha1
      kind: UIPlugin
      metadata:
        name: logging
      spec:
        logging:
          lokiStack:
            name: logging-loki
            namespace: openshift-logging
          schema: otel
        type: Logging
      

      4) show query in observe->Logs->Show Query

      Actual Result

      Expected result

      No '|json' in query string

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

                Created:
                Updated:
                Resolved: