有許多實體和許多服務/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) * 2附註:增加此限制後,ITSI將使用更多記憶體,因為將分配更多記憶體以支援結果數
| 修訂 | 發佈日期 | 意見 |
|---|---|---|
1.0 |
28-Sep-2026
|
初始版本 |