Skip to content
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

[Alerting] Improve editing of Elasticsearch query when data view is deleted #135641

Open
jughosta opened this issue Jul 4, 2022 · 4 comments
Open
Labels
enhancement New value added to drive a business result Feature:Alerting impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. loe:needs-research This issue requires some research before it can be worked on or estimated Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)

Comments

@jughosta
Copy link
Contributor

jughosta commented Jul 4, 2022

Kibana version: main (8.4)

Description of the problem including expected versus actual behavior:
If user creates "Elasticsearch query" rule from Discover, deletes the used data view and then navigates to Stack Management to edit the created rule => a error message is shown. It should render a proper link in this case.

Originally posted in #134763 (review)

Screenshot 2022-07-04 at 14 22 25

@jughosta jughosta added enhancement New value added to drive a business result Feature:Alerting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) labels Jul 4, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

@jughosta jughosta added the Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. label Jul 4, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@gchaps
Copy link
Contributor

gchaps commented Jul 6, 2022

It would be nice if we could update the text as well.

Can't locate the data view with ID xxxx. Create the data view again.

@ninoslavmiskovic ninoslavmiskovic added the impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. label Sep 29, 2022
@davismcphee davismcphee added the loe:needs-research This issue requires some research before it can be worked on or estimated label Sep 8, 2023
@maryam-saeidi
Copy link
Member

Even if the link is fixed, how can we bring back the deleted data view?

Alternative idea from @maciejforcone about how to solve this issue: (slack)

maybe we should delete these rules automatically? and add text to warning info, so when user is deleting the data view, it'll also delete all the related rules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Alerting impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. loe:needs-research This issue requires some research before it can be worked on or estimated Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
None yet
Development

No branches or pull requests

6 participants