我面临 CPU 使用率的 elastalert 规则问题(不是平均负载)。我没有受到任何打击和比赛。下面是我的 CPU 规则的 .yaml 文件:
name: CPU usgae
type: metric_aggregation
index: metricbeat-*
buffer_time:
minutes: 10
metric_agg_key: system.cpu.total.pct
metric_agg_type: avg
query_key: beat.hostname
doc_type: doc
bucket_interval:
minutes: 5
sync_bucket_interval: true
max_threshold: 60.0
filter:
- term:
metricset.name: cpu
alert:
- "email"
email:
- "xyz@xy.com"
你能帮我在我的规则中做些什么改变吗?
任何帮助将不胜感激。
谢谢。