From 098eee5d095b1724f9e635ca4e592fb6ac34e2d5 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Thu, 13 Jul 2023 09:46:05 -0400 Subject: [PATCH] [8.9] [DOCv2] Temporarily disable Kibana Rules (#126869) (#161865) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # Backport This will backport the following commits from `main` to `8.9`: - [[DOCv2] Temporarily disable Kibana Rules (#126869)](https://github.com/elastic/kibana/pull/126869) ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) Co-authored-by: Stef Nestor <26751266+stefnestor@users.noreply.github.com> --- .../alerting-troubleshooting.asciidoc | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/docs/user/alerting/alerting-troubleshooting.asciidoc b/docs/user/alerting/alerting-troubleshooting.asciidoc index 34a97b3eb59036..88b553c9064c1a 100644 --- a/docs/user/alerting/alerting-troubleshooting.asciidoc +++ b/docs/user/alerting/alerting-troubleshooting.asciidoc @@ -189,12 +189,30 @@ In addition to the above methods, refer to the following approaches and common i * <> * <> +[discrete] +[[alerting-kibana-throttle]] +==== Temporarily throttle all tasks + +If cluster performance becomes degraded from excessive or expensive rules and {kib} is sluggish or unresponsive, you can temporarily reduce load to the Task Manager by updating its <>: + +[source,txt] +-------------------------------------------------- +xpack.task_manager.max_workers: 1 +xpack.task_manager.poll_interval: 1h +-------------------------------------------------- + +[WARNING] +==== +This approach should be used only temporarily as a last resort to restore function to {kib} when it is unresponsive and attempts to identify and <> slow-running rules have not fixed the situation. +It severely throttles all background tasks, not just those relating to {alert-features}. The task manager will run only one task at a time and will look for more work each hour. +==== + [discrete] [[alerting-limitations]] === Limitations The following limitations and known problems apply to the {version} release of -the {kib} {alert-features}. +the {kib} {alert-features}: [discrete] ==== Alert visibility @@ -208,3 +226,4 @@ the `consumer` property. include::troubleshooting/alerting-common-issues.asciidoc[] include::troubleshooting/event-log-index.asciidoc[] include::troubleshooting/testing-connectors.asciidoc[] +