elastic / kibana

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

[ML] Prompt the user to delete alerting rules while deleting anomaly detection jobs #174513

Closed darnautov closed 7 months ago

darnautov commented 8 months ago

Currently, when a user deletes an anomaly detection job used in alerting rules, it causes errors due to these rules referencing the deleted job. To mitigate this issue, we should prompt users to delete associated alerting rules, similar to the functionality of the "Delete annotations" toggle.

Note that the user can still delete a job with the Elasticsearch API call.

image
elasticmachine commented 8 months ago

Pinging @elastic/ml-ui (:ml)