有许多实体和许多服务/KPI(每个模板/服务8个KPI)。 因此,每次运行KPI基础搜索时都会返回成千上万个结果,这可能已超过ITSI将处理的搜索结果发送到ITSI摘要索引时的限制
要避免此问题,请执行以下操作:通过将服务分布到多个共享基本搜索,减少结果数量。
搜索名称中的ID是共享基本搜索的ID。
index=_internal source=*scheduler.log* shared indicator | stats min(result_count) AS min_result_count avg(result_count) AS avg_result_count max(result_count) AS max_result_count min(run_time) avg(run_time) max(run_time) by savedsearch_name | sort -max_result_count |
或者
提高限制(不要超过100000)
[scheduler] * The maximum number of results to load when triggering an alert action. * Default: 50000 max_action_results = 50000
3.您需要根据以下公式自行计算和调整上述数字:
limit = (number of KPIs * number of entities for each service) + (number of services) * 2NOTE:由于增加此限制,ITSI将使用更多内存,因为将分配更多内存以支持结果数
| 版本 | 发布日期 | 备注 |
|---|---|---|
1.0 |
28-Sep-2026
|
初始版本 |