-
Bug
-
Resolution: Done-Errata
-
Undefined
-
Logging 5.7.z, Logging 5.8.z
-
None
-
False
-
None
-
False
-
NEW
-
VERIFIED
-
-
Bug Fix
-
-
-
Moderate
Description of problem:
When it's defined a query to Loki in `Observe > Logs` containing ~=, the query is mutated when changed the `Time range`
Version-Release number of selected component (if applicable):
Logging 5.7
Logging 5.8
How reproducible:
Always
Steps to Reproduce:
- Deploy ClusterLogging being the Log Store Loki
- Log in into `OCP Console > Observe > Logs` and introduce a query containing ~= as it could be:
{ log_type="infrastructure", kubernetes_pod_name~=".*etcd.*" } | json
- Change the time range from the default stablished from 1 hour for other
- Review the query has changed
Actual results:
The original query:
{ log_type="infrastructure", kubernetes_pod_name~=".*etcd.*" } | json
is changed deleted automatically the ~, then, it doesn't match anymore pod name to check the logs. The query resultant is:
{ log_type="infrastructure", kubernetes_pod_name=".*etcd.*" } | json
Expected results:
The query remains the same after changing selecting a different Time range
- clones
-
LOG-4810 Queries from Observe Logs containing ~= are mutated when modifying the time range
- Closed
- links to
-
RHBA-2023:124593 Logging Subsystem 5.7.9 - Red Hat OpenShift
- mentioned on
(1 mentioned on)