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

[Administrator Console] Seeing "parse error" while using Severity filter for cluster view user

XMLWordPrintable

    • False
    • None
    • False
    • NEW
    • VERIFIED
    • Hide
      Before this update, the LokiStack Gateway Labels Enforcer did not parse all LogQL statements correctly caused to throw parse errors for valid LogQL query when using combined label filters with boolean expressions. With this update, the LokiStack LogQL implementation supports label filters with boolean expression as in upstream resolves the issue and the users can search logs with label filters.
      Show
      Before this update, the LokiStack Gateway Labels Enforcer did not parse all LogQL statements correctly caused to throw parse errors for valid LogQL query when using combined label filters with boolean expressions. With this update, the LokiStack LogQL implementation supports label filters with boolean expression as in upstream resolves the issue and the users can search logs with label filters.
    • Log Storage - Sprint 229, Log Storage - Sprint 230, Log Storage - Sprint 231

      Description of problem:

      Seeing "parse error" while using Severity filter for non-admin user with admin/view role

      Version-Release number of selected component (if applicable):

      logging 5.6

      How reproducible:

      Always

      Steps to Reproduce:

      1. Enable the "Console plugin" by following the testing steps in the doc
      2. Assign view/admin rule to a non-admin user
      ex,  testuser-0: oc adm policy add-cluster-role-to-user view testuser-0
      3. Create an application for logs with testuser-0
      4. Login to openshift web console with testuser-0
      5. Go to 'Observe' menu -> Click on Logs
      6. Select severity 'unknown' from the drop down, then click on "Run Query" button

      Actual results:

      parse error at line 1, col 1970: syntax error: unexpected STRING

      Expected results:

      No error

        1. image-2023-01-12-14-35-01-335.png
          100 kB
          Giriyamma Karagere Ramaswamy

              ptsiraki@redhat.com Periklis Tsirakidis
              gkarager Giriyamma Karagere Ramaswamy (Inactive)
              Giriyamma Karagere Ramaswamy Giriyamma Karagere Ramaswamy (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: