-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.15] [Rules and Alerting][Stack Monitoring] Quote cluster uuid in g…
…lobal state link sent via alerting rules (#190341) (#191496) # Backport This will backport the following commits from `main` to `8.15`: - [[Rules and Alerting][Stack Monitoring] Quote cluster uuid in global state link sent via alerting rules (#190341)](#190341) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Dominique Clarke","email":"dominique.clarke@elastic.co"},"sourceCommit":{"committedDate":"2024-08-27T12:50:48Z","message":"[Rules and Alerting][Stack Monitoring] Quote cluster uuid in global state link sent via alerting rules (#190341)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/191250\r\n\r\nThis PR fixes the URL contained in the Shard size alerting rule when the\r\nemail body contains the `` action\r\nvariable.\r\n\r\nThe generated URL which triggers a `rison decoder error`\r\n\r\n`https://<host>/app/monitoring#/elasticsearch/indices/<index>?_g=(cluster_uuid:foobar))`\r\n\r\nis fixed by adding a pair of single quotes around the cluster UUID\r\n\r\n`https://<host>/app/monitoring#/elasticsearch/indices/<index>?_g=(cluster_uuid:'foobar'))`\r\n\r\nWorth noting that this issue doesn't only impact the Shard size rule,\r\nbut many other rule types, namely:\r\n* CPU usage\r\n* Disk usage\r\n* Memory usage\r\n* CCR read exception\r\n* ES version mismatch\r\n* Kibana version mismatch\r\n* Logstash version mismatch\r\n* Missing monitoring data\r\n* Thread pool search rejections\r\n* Thread pool write rejections\r\n\r\n---------\r\n\r\nCo-authored-by: Valentin Crettaz <valentin.crettaz@consulthys.com>\r\nCo-authored-by: Valentin Crettaz <valentin.crettaz@elastic.co>","sha":"6ba4d7440d34bbea11699fbe218a0020ff88a4f4","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport","release_note:fix","Feature:Stack Monitoring","v8.15.0","v8.16.0","v8.15.1","backport:version"],"title":"[Rules and Alerting][Stack Monitoring] Quote cluster uuid in global state link sent via alerting rules","number":190341,"url":"https://github.com/elastic/kibana/pull/190341","mergeCommit":{"message":"[Rules and Alerting][Stack Monitoring] Quote cluster uuid in global state link sent via alerting rules (#190341)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/191250\r\n\r\nThis PR fixes the URL contained in the Shard size alerting rule when the\r\nemail body contains the `` action\r\nvariable.\r\n\r\nThe generated URL which triggers a `rison decoder error`\r\n\r\n`https://<host>/app/monitoring#/elasticsearch/indices/<index>?_g=(cluster_uuid:foobar))`\r\n\r\nis fixed by adding a pair of single quotes around the cluster UUID\r\n\r\n`https://<host>/app/monitoring#/elasticsearch/indices/<index>?_g=(cluster_uuid:'foobar'))`\r\n\r\nWorth noting that this issue doesn't only impact the Shard size rule,\r\nbut many other rule types, namely:\r\n* CPU usage\r\n* Disk usage\r\n* Memory usage\r\n* CCR read exception\r\n* ES version mismatch\r\n* Kibana version mismatch\r\n* Logstash version mismatch\r\n* Missing monitoring data\r\n* Thread pool search rejections\r\n* Thread pool write rejections\r\n\r\n---------\r\n\r\nCo-authored-by: Valentin Crettaz <valentin.crettaz@consulthys.com>\r\nCo-authored-by: Valentin Crettaz <valentin.crettaz@elastic.co>","sha":"6ba4d7440d34bbea11699fbe218a0020ff88a4f4"}},"sourceBranch":"main","suggestedTargetBranches":["8.15"],"targetPullRequestStates":[{"branch":"8.15","label":"v8.15.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/190341","number":190341,"mergeCommit":{"message":"[Rules and Alerting][Stack Monitoring] Quote cluster uuid in global state link sent via alerting rules (#190341)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/191250\r\n\r\nThis PR fixes the URL contained in the Shard size alerting rule when the\r\nemail body contains the `` action\r\nvariable.\r\n\r\nThe generated URL which triggers a `rison decoder error`\r\n\r\n`https://<host>/app/monitoring#/elasticsearch/indices/<index>?_g=(cluster_uuid:foobar))`\r\n\r\nis fixed by adding a pair of single quotes around the cluster UUID\r\n\r\n`https://<host>/app/monitoring#/elasticsearch/indices/<index>?_g=(cluster_uuid:'foobar'))`\r\n\r\nWorth noting that this issue doesn't only impact the Shard size rule,\r\nbut many other rule types, namely:\r\n* CPU usage\r\n* Disk usage\r\n* Memory usage\r\n* CCR read exception\r\n* ES version mismatch\r\n* Kibana version mismatch\r\n* Logstash version mismatch\r\n* Missing monitoring data\r\n* Thread pool search rejections\r\n* Thread pool write rejections\r\n\r\n---------\r\n\r\nCo-authored-by: Valentin Crettaz <valentin.crettaz@consulthys.com>\r\nCo-authored-by: Valentin Crettaz <valentin.crettaz@elastic.co>","sha":"6ba4d7440d34bbea11699fbe218a0020ff88a4f4"}}]}] BACKPORT--> Co-authored-by: Dominique Clarke <dominique.clarke@elastic.co>
- Loading branch information
1 parent
4f2a101
commit ec5c0c9
Showing
12 changed files
with
39 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.