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

Rules refresh button not refreshing the list of alerts #183155

Open
eedugon opened this issue May 10, 2024 · 1 comment
Open

Rules refresh button not refreshing the list of alerts #183155

eedugon opened this issue May 10, 2024 · 1 comment
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)

Comments

@eedugon
Copy link

eedugon commented May 10, 2024

Kibana version:
8.13.2

Elasticsearch version:
8.13.2

Server OS version:
ESS

Browser version:
Chrome 124.0.6367.119

Describe the bug:
In Stack Management --> rules --> UI, the refresh button doesn't refresh the list of alerts. This has been reported by a user and I have reproduced it easily in a lab.

The only workarounds are:

  • Switch to history and then back to alerts
  • Refresh the browser

The same happens if an active alert is recovered, the refresh button won't show the change until browser refreshed or switching to history and back to alerts.

Steps to reproduce:

  1. Go to Stack Management --> Rules --> and select an alert rule
  2. Check the list of active alerts
  3. Do whatever is needed to generate an alert (this will need knowledge of the rule specifics)
  4. Click on refresh for as long as you want, the alert (or recovered)

Expected behavior:
The Active alert (or recovered in case of an active alert being recovered) should appear in the list of Alerts

Screenshots (if relevant):
Screenshot 2024-05-10 at 15 41 18

There are no errors and the refresh is refreshing other parts of the window, but not that list.

@eedugon eedugon added the bug Fixes for quality problems that affect the customer experience label May 10, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label May 10, 2024
@eedugon eedugon changed the title rules refresh button not refreshing the list of alerts Rules refresh button not refreshing the list of alerts May 10, 2024
@mikecote mikecote added the Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) label May 10, 2024
@elasticmachine
Copy link
Contributor

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

@botelastic botelastic bot removed the needs-team Issues missing a team label label May 10, 2024
umbopepato added a commit that referenced this issue Oct 17, 2024
…ton to alerts table (#195736)

## Summary

Forwards the reload request from the Stack Management rule detail page
`🔄 Refresh` button to the alerts table.

## To verify

1. Create a Stack rule that fires alerts
2. Visit that rule's detail page
3. Check that the `🔄 Refresh` button correctly refreshes the alerts
table (i.e. by changing the rule params and checking that the alerts
update accordingly)

## References

Fixes #188405, #183155
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Oct 17, 2024
…ton to alerts table (elastic#195736)

## Summary

Forwards the reload request from the Stack Management rule detail page
`🔄 Refresh` button to the alerts table.

## To verify

1. Create a Stack rule that fires alerts
2. Visit that rule's detail page
3. Check that the `🔄 Refresh` button correctly refreshes the alerts
table (i.e. by changing the rule params and checking that the alerts
update accordingly)

## References

Fixes elastic#188405, elastic#183155

(cherry picked from commit 6a0ad10)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Oct 17, 2024
…ton to alerts table (elastic#195736)

## Summary

Forwards the reload request from the Stack Management rule detail page
`🔄 Refresh` button to the alerts table.

## To verify

1. Create a Stack rule that fires alerts
2. Visit that rule's detail page
3. Check that the `🔄 Refresh` button correctly refreshes the alerts
table (i.e. by changing the rule params and checking that the alerts
update accordingly)

## References

Fixes elastic#188405, elastic#183155

(cherry picked from commit 6a0ad10)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Oct 17, 2024
…ton to alerts table (elastic#195736)

## Summary

Forwards the reload request from the Stack Management rule detail page
`🔄 Refresh` button to the alerts table.

## To verify

1. Create a Stack rule that fires alerts
2. Visit that rule's detail page
3. Check that the `🔄 Refresh` button correctly refreshes the alerts
table (i.e. by changing the rule params and checking that the alerts
update accordingly)

## References

Fixes elastic#188405, elastic#183155

(cherry picked from commit 6a0ad10)
kibanamachine added a commit that referenced this issue Oct 17, 2024
…esh button to alerts table (#195736) (#196652)

# Backport

This will backport the following commits from `main` to `8.15`:
- [[ResponseOps][Rules][Alerts] Link stack rule details page refresh
button to alerts table
(#195736)](#195736)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Umberto
Pepato","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-17T09:46:29Z","message":"[ResponseOps][Rules][Alerts]
Link stack rule details page refresh button to alerts table
(#195736)\n\n## Summary\r\n\r\nForwards the reload request from the
Stack Management rule detail page\r\n`🔄 Refresh` button to the alerts
table.\r\n\r\n## To verify\r\n\r\n1. Create a Stack rule that fires
alerts\r\n2. Visit that rule's detail page\r\n3. Check that the `🔄
Refresh` button correctly refreshes the alerts\r\ntable (i.e. by
changing the rule params and checking that the alerts\r\nupdate
accordingly)\r\n\r\n## References\r\n\r\nFixes #188405,
#183155","sha":"6a0ad109087fd8b9efe9198a6df23f4658929c05","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:ResponseOps","v9.0.0","backport:prev-major","v8.16.0","v8.15.3"],"title":"[ResponseOps][Rules][Alerts]
Link stack rule details page refresh button to alerts
table","number":195736,"url":"https://github.com/elastic/kibana/pull/195736","mergeCommit":{"message":"[ResponseOps][Rules][Alerts]
Link stack rule details page refresh button to alerts table
(#195736)\n\n## Summary\r\n\r\nForwards the reload request from the
Stack Management rule detail page\r\n`🔄 Refresh` button to the alerts
table.\r\n\r\n## To verify\r\n\r\n1. Create a Stack rule that fires
alerts\r\n2. Visit that rule's detail page\r\n3. Check that the `🔄
Refresh` button correctly refreshes the alerts\r\ntable (i.e. by
changing the rule params and checking that the alerts\r\nupdate
accordingly)\r\n\r\n## References\r\n\r\nFixes #188405,
#183155","sha":"6a0ad109087fd8b9efe9198a6df23f4658929c05"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.15"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195736","number":195736,"mergeCommit":{"message":"[ResponseOps][Rules][Alerts]
Link stack rule details page refresh button to alerts table
(#195736)\n\n## Summary\r\n\r\nForwards the reload request from the
Stack Management rule detail page\r\n`🔄 Refresh` button to the alerts
table.\r\n\r\n## To verify\r\n\r\n1. Create a Stack rule that fires
alerts\r\n2. Visit that rule's detail page\r\n3. Check that the `🔄
Refresh` button correctly refreshes the alerts\r\ntable (i.e. by
changing the rule params and checking that the alerts\r\nupdate
accordingly)\r\n\r\n## References\r\n\r\nFixes #188405,
#183155","sha":"6a0ad109087fd8b9efe9198a6df23f4658929c05"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.15","label":"v8.15.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Umberto Pepato <[email protected]>
kibanamachine added a commit that referenced this issue Oct 17, 2024
…sh button to alerts table (#195736) (#196654)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[ResponseOps][Rules][Alerts] Link stack rule details page refresh
button to alerts table
(#195736)](#195736)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Umberto
Pepato","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-17T09:46:29Z","message":"[ResponseOps][Rules][Alerts]
Link stack rule details page refresh button to alerts table
(#195736)\n\n## Summary\r\n\r\nForwards the reload request from the
Stack Management rule detail page\r\n`🔄 Refresh` button to the alerts
table.\r\n\r\n## To verify\r\n\r\n1. Create a Stack rule that fires
alerts\r\n2. Visit that rule's detail page\r\n3. Check that the `🔄
Refresh` button correctly refreshes the alerts\r\ntable (i.e. by
changing the rule params and checking that the alerts\r\nupdate
accordingly)\r\n\r\n## References\r\n\r\nFixes #188405,
#183155","sha":"6a0ad109087fd8b9efe9198a6df23f4658929c05","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:ResponseOps","v9.0.0","backport:prev-major","v8.16.0","v8.15.3"],"title":"[ResponseOps][Rules][Alerts]
Link stack rule details page refresh button to alerts
table","number":195736,"url":"https://github.com/elastic/kibana/pull/195736","mergeCommit":{"message":"[ResponseOps][Rules][Alerts]
Link stack rule details page refresh button to alerts table
(#195736)\n\n## Summary\r\n\r\nForwards the reload request from the
Stack Management rule detail page\r\n`🔄 Refresh` button to the alerts
table.\r\n\r\n## To verify\r\n\r\n1. Create a Stack rule that fires
alerts\r\n2. Visit that rule's detail page\r\n3. Check that the `🔄
Refresh` button correctly refreshes the alerts\r\ntable (i.e. by
changing the rule params and checking that the alerts\r\nupdate
accordingly)\r\n\r\n## References\r\n\r\nFixes #188405,
#183155","sha":"6a0ad109087fd8b9efe9198a6df23f4658929c05"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.15"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195736","number":195736,"mergeCommit":{"message":"[ResponseOps][Rules][Alerts]
Link stack rule details page refresh button to alerts table
(#195736)\n\n## Summary\r\n\r\nForwards the reload request from the
Stack Management rule detail page\r\n`🔄 Refresh` button to the alerts
table.\r\n\r\n## To verify\r\n\r\n1. Create a Stack rule that fires
alerts\r\n2. Visit that rule's detail page\r\n3. Check that the `🔄
Refresh` button correctly refreshes the alerts\r\ntable (i.e. by
changing the rule params and checking that the alerts\r\nupdate
accordingly)\r\n\r\n## References\r\n\r\nFixes #188405,
#183155","sha":"6a0ad109087fd8b9efe9198a6df23f4658929c05"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.15","label":"v8.15.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Umberto Pepato <[email protected]>
kibanamachine added a commit that referenced this issue Oct 21, 2024
…esh button to alerts table (#195736) (#196653)

# Backport

This will backport the following commits from `main` to `8.16`:
- [[ResponseOps][Rules][Alerts] Link stack rule details page refresh
button to alerts table
(#195736)](#195736)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Umberto
Pepato","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-17T09:46:29Z","message":"[ResponseOps][Rules][Alerts]
Link stack rule details page refresh button to alerts table
(#195736)\n\n## Summary\r\n\r\nForwards the reload request from the
Stack Management rule detail page\r\n`🔄 Refresh` button to the alerts
table.\r\n\r\n## To verify\r\n\r\n1. Create a Stack rule that fires
alerts\r\n2. Visit that rule's detail page\r\n3. Check that the `🔄
Refresh` button correctly refreshes the alerts\r\ntable (i.e. by
changing the rule params and checking that the alerts\r\nupdate
accordingly)\r\n\r\n## References\r\n\r\nFixes #188405,
#183155","sha":"6a0ad109087fd8b9efe9198a6df23f4658929c05","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:ResponseOps","v9.0.0","backport:prev-major","v8.16.0","v8.15.3"],"title":"[ResponseOps][Rules][Alerts]
Link stack rule details page refresh button to alerts
table","number":195736,"url":"https://github.com/elastic/kibana/pull/195736","mergeCommit":{"message":"[ResponseOps][Rules][Alerts]
Link stack rule details page refresh button to alerts table
(#195736)\n\n## Summary\r\n\r\nForwards the reload request from the
Stack Management rule detail page\r\n`🔄 Refresh` button to the alerts
table.\r\n\r\n## To verify\r\n\r\n1. Create a Stack rule that fires
alerts\r\n2. Visit that rule's detail page\r\n3. Check that the `🔄
Refresh` button correctly refreshes the alerts\r\ntable (i.e. by
changing the rule params and checking that the alerts\r\nupdate
accordingly)\r\n\r\n## References\r\n\r\nFixes #188405,
#183155","sha":"6a0ad109087fd8b9efe9198a6df23f4658929c05"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.15"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195736","number":195736,"mergeCommit":{"message":"[ResponseOps][Rules][Alerts]
Link stack rule details page refresh button to alerts table
(#195736)\n\n## Summary\r\n\r\nForwards the reload request from the
Stack Management rule detail page\r\n`🔄 Refresh` button to the alerts
table.\r\n\r\n## To verify\r\n\r\n1. Create a Stack rule that fires
alerts\r\n2. Visit that rule's detail page\r\n3. Check that the `🔄
Refresh` button correctly refreshes the alerts\r\ntable (i.e. by
changing the rule params and checking that the alerts\r\nupdate
accordingly)\r\n\r\n## References\r\n\r\nFixes #188405,
#183155","sha":"6a0ad109087fd8b9efe9198a6df23f4658929c05"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.15","label":"v8.15.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Umberto Pepato <[email protected]>
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 Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
None yet
Development

No branches or pull requests

4 participants