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

[ResponseOps] warnings/errors when deleting/disabling rules with no active alerts #182754

Closed
pmuellr opened this issue May 6, 2024 · 2 comments · Fixed by #183207
Closed

[ResponseOps] warnings/errors when deleting/disabling rules with no active alerts #182754

pmuellr opened this issue May 6, 2024 · 2 comments · Fixed by #183207
Assignees
Labels
bug Fixes for quality problems that affect the customer experience chore Feature:Alerting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)

Comments

@pmuellr
Copy link
Member

pmuellr commented May 6, 2024

When you attempt to delete a rule that has not generated alerts, you'll get the following messages logged in Kibana:

ERROR - Error marking ruleIds <id> as untracked - No active alerts matched the query
WARN  - rulesClient.disable('<id>') - Could not write untrack events - No active alerts matched the query

This isn't really an error, nor something we need to warn about. AFAIK. It's just that the rule had no alerts.

I think we can change these to DEBUG instead ...

@pmuellr pmuellr added bug Fixes for quality problems that affect the customer experience Feature:Alerting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) labels May 6, 2024
@elasticmachine
Copy link
Contributor

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

@mikecote mikecote added the chore label May 9, 2024
@mikecote
Copy link
Contributor

mikecote commented May 9, 2024

cc @cnasikas

@cnasikas cnasikas self-assigned this May 11, 2024
cnasikas added a commit that referenced this issue May 15, 2024
…erts produce an error or warn when untracking alerts (#183207)

## Summary

Fixes: #182754

### For maintainers

- [x] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience chore Feature:Alerting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
None yet
4 participants