elastic / kibana

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

[RAM] Elasticsearch query rule (Query DSL) saved silently resets query when changing index pattern #177021

Open XavierM opened 7 months ago

XavierM commented 7 months ago

Steps to replicate:

  1. Create a new Elasticsearch query rule (Query DSL), change the default query to the following and save the rule:
{
    "query": {
        "match_all": {
            "some": "query"
        }
    }
}

2.Open the edit rule flyout, change the index / index pattern selected to the same value (i.e. delete it and then enter it again), click save.

  1. Open the edit rule flyout a third time, and check the query DSL has reset to the default empty match_all: {}.

SDH link

elasticmachine commented 7 months ago

Pinging @elastic/response-ops (Team:ResponseOps)