elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.69k stars 8.24k forks source link

[ML] Filters are ignored with some query bar entries with log rate analysis, pattern analysis and change point. #195212

Closed jgowdyelastic closed 1 month ago

jgowdyelastic commented 1 month ago

If you add query like * to Discover or the AIOps Labs pages for Log Rate analysis, Pattern Analysis and Change Point Detection and then also add a filter, the filter is ignored.

Image

Remove the * query and the correct filtering is applied:

Image

After a quick investigation, it appear the stateFromUrl is not being set correctly and is causing useSearch to skip over the retrieval of the filters.

First reported here

elasticmachine commented 1 month ago

Pinging @elastic/ml-ui (:ml)