LogQL is modified when changed the time-range or severity in RHOCP 4

Solution Verified - Updated -

Issue

  • When executing a The LogQL query from Observe > Logs, it's changed the label matched operator if it was defined as a regular expression when using the control time-range or severity.
  • The LogQL query { log_type="infrastructure", kubernetes_pod_name~=".*etcd.*" } | json was changed to { log_type="infrastructure", kubernetes_pod_name=".*etcd.*" } | json after selecting a different time-range.

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • Red Hat OpenShift Logging (RHOL)
    • 5.7
    • 5.8
  • Loki
  • LogQL
  • OCP Console

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content