-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Discover][Alerting] Allow creating the new advanced Elasticsearch query alert in Management #134183
Comments
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery) |
FYI @gchaps for wording, FYI @andreadelrio for design, FYI @timductive for managing, FYI @VijayDoshi for product, FYI @gmmorris for awareness |
@jughosta this would currently break functionality, since users can add any index here. But it it would be nice if users could choose. With the introduction of Ad-hoc data view we will have more options here, so users could do both ... use a data view OR provide an index pattern. So we could do this in a later step |
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: