[Discover][Alerting] Allow creating the new advanced Elasticsearch query alert in Management #134183
Labels
enhancement
New value added to drive a business result
Feature:Discover
Discover Application
Team:DataDiscovery
Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
With the merge of #131688 it became possible to create and edit the new advanced Elasticsearch query alert in Discover, so you can make use of data view, query and filters to create an alert rule. In the current implementation this is just possible in Discover. This is because we implemented this new feature iteratively. Now that also editing is possible, there's no reason left why not to create this enhanced Elasticsearch query alert in Stack Management. Currently when creating the alert in stack management it's just possible to use the Elasticsearch query DSL:
So the following should be implemented. In Stack management, once the user selected
Elasticsearch query
, in the following screen there should be a mandatory selection why type of query the users prefers:Depending on the choice of the user, the interface of * KQL or Lucene or Query DSL would be displayed. We wouldn't support the change of the query after selection.
That's how it could look like:
And here's where the implementation would start:
kibana/x-pack/plugins/stack_alerts/public/alert_types/es_query/expression/expression.tsx
Lines 57 to 72 in bc31053
The text was updated successfully, but these errors were encountered: