-
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
Pre-configured Alerts #59813
Comments
Pinging @elastic/kibana-alerting-services (Team:Alerting Services) |
These are the hardest questions, I think. Maybe these should be space-agnostic, which would simplify some parts of this, probably complicate the implementation as we'll need a separate saved object type for these. For the preconfigured actions, the initial thoughts were that a user would still have to "enable" them somehow - such a gesture would be perfect here, as that would give us the user and space. So "one button click" enablement. That would give us a user.
Seems like only pre-configured connectors, to start with anyway. Otherwise the alert would need to be mutable somehow, and I think we'd want to prevent that as much as possible.
Ya, great question. Seems like you'd certainly want to disable/mute with rebooting Kibana :-) but changing actions I could see as reboot/reconfiguration-required. |
Is there any update on this thinking? The Stack Monitoring team would really like this kind of functionality to natively exist in the alerting plugin. I know you folks made efforts on allowing preconfigured actions so I'm not sure if that's a good sign of movement on this ask too. |
@chrisronline the thinking is still the same, now that preconfigured actions are complete, it paves the way for preconfigured alerts though still a 7.10+ timeline. Is the stack monitoring team planning to use the current alerting APIs in the meantime or blocked until this is complete? |
Pre-configured alerts still seem hard, especially associating a user. I wonder if there is another way to do this, besides the way it was solved with actions (which don't need a user associated). We also have this issue: #67382 regarding packaged alerts - perhaps that's part of the solution? I guess we should collect some actual use cases - there's A LOT of discussion in issue #45571 - maybe we could boil some of those down and add them here? |
Stack monitoring, like other plugins I imagine, just want the ability to create out-of-the-box alerts, that are created and enabled without the user needing to do anything. Because of this, there is no real configuration necessary - except possibly some optional way to configure existing connectors but the stack monitoring team plans to just enable the server log connector by default and ask the user to add more if they want. Is it not possible to have a way to create alerts using the system user, aka the user configured through |
This issue #33496 could help with the implementation of this. |
woops, ya, I was thinking preconfigured actions - this one is different :-) |
Are those for preconfigured actions? I don't see another issue for preconfigured alerts |
Another note that could use some APIs without a user in context: #75875. |
cc @arisonl |
Based on the conversation
we should find a specific way of handling pre-configured alerts license check. |
If we allowed the alert to be created, even if it wasn't valid given the current license, then those would be in the same state as alerts that "expired" due to a downgrade in the license. It would of course be nice to let the customer know ahead of time, "we're going to create these alerts, but they're only valid for license XYZ+ and you're at WXY". Then, when they upgrade the license, all of a sudden alerts that weren't running will start running. Perhaps that's too much of a surprise factor though. One thought for product: could we turn these "alerts that can't run because you're not at license XYZ" into CTA's - basically ads for function customers will get, if they upgrade. |
Moving from |
Moving from |
This is the alerting equivalent of #58914
There are scenarios where we want to pre-configure the alerts that will run in the system:
Unlike connectors, alerts are built on top of task-management (allowing it to be distributed) which means using Kibana saved objects, spaces, and security model. This creates some additional obstacles/consideration to managing them outside of a deployment:
Some similar issues came up when discussing alerting for stack monitoring, see #45571
The text was updated successfully, but these errors were encountered: