-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Meta] MVP for Alerting in Discover #71099
Comments
Pinging @elastic/kibana-alerting-services (Team:Alerting Services) |
Pinging @elastic/kibana-app-arch (Team:AppArch) |
In regards to the first step (alerting service w/ ES DSL #61313). Is the expectation out of that to be able to run ES DSL queries against Elasticsearch or to build on top of our ES DSL alert type to support different types of queries? or maybe both? :) |
@mikecote I think the assumption for an MVP is simply to be able to provide the DSL as an input to the alerting service to run against ES. Extending on top of that would be something to consider as a future step. |
As @mikecote pointed out offline, there's already the I've updated the list above to reflect this. |
A lot of things happened over the last 6 months so I think we should revisit the approach/ architecture around alerting in discover. Discover is using SearchSource (high level search service) to make the queries. I think it would be best to have a |
I'm sure the team is aware of this new alert type, but I wanted to link to the PR for the upcoming "Elasticsearch query" alert. #88528. I'm guessing this bypasses SearchSource, but may be helpful to review the implementation when we're building out the search alert in Discover |
With the new search alert created, we are planning on moving alerting forward in Discover. @timductive @timroes I'm going to bring this up on our call next week, and we should have a plan forward. From a product perspective, alerting in Discover is one of the most requested features from our users. |
Alerting in Discover was talked about again on our Discover pre-planning meeting for 7.14 on April 22nd, 2021 A few things were decided;
This is the current status of Alerting in Discover. Please get in touch @timroes @timductive or @shaunmcgough for more detailed info from a tech, team, or product perspective respectively. |
Thanks for the summary @shaunmcgough
|
Hey @AlonaNadler, @timroes can elaborate. My understanding is we'll need to use this for our alert. |
@AlonaNadler (I rephrased the point you were asking about a bit). The current Alert is using Elasticsearch queries directly. We use in Discover (and most other Analytics Apps) the higher level abstraction of Search Source to communicate with ES. We'd need an alert executor using Search Source not raw Elasticsearch DSL, since Search Source handles a lot of "higher level" logic for us (legacy support for scripted fields, runtime field support, filtering fields, etc. etc.). Peter, Mika and I also discussed that before the Elasticsearch DSL alerter was created, that this won't be enough for our use-case and we'll still follow our original plan of having a search source specific alerter that we use in Discover (and potentially other apps using search source), that we'll need to build in context of the Discover Alert, but App Services will take ownership afterwards of. @mikecote Not sure if you've already got an answer offline to this: but we just discussed that the above mentioned 2 issues have a priority for us, to be able to implement this, and Gidi suggested, that we can build the data access potentially just ourselves. Haven't discussed much more technical things. Since you already commented on the data service issue, I'd like to continue the discussion around it there. |
Closing in favor of #117532 |
With the introduction of the alerting service, we want to introduce support for configuring alerts based on a specific view in Discover. Based on discussions with alerting, app, & arch teams, these are the steps we've identified to get us there:
[ ] Add support for ES DSL "search alert" in Alerting servicecallCluster
service in the executorConcepts
Clicking on create alert opens a flyout. The flyout takes into account the search bar query and filters. Whatever is in blue is configurable:
Architecture
Related meta issue for alerting on Dashboards: #71560
cc @AlonaNadler @shaunmcgough @arisonl @rayafratkina @stacey-gammon @elastic/kibana-alerting-services @elastic/kibana-app @elastic/kibana-app-arch
The text was updated successfully, but these errors were encountered: