从今天开始,我正在使用 elastalert HEAD。
我正在使用这个规则:
es_host: *******
es_port: 443
use_ssl: True
name: Mike Learning Two
type: spike
index: cwl-*
threshold: 2
timeframe:
minutes: 1
spike_height: 2
spike_type: "up"
filter:
- query:
query_string:
query: "status:404"
alert:
- "debug"
它确实检测到尖峰。但有时它会通过以下消息发出警报:
INFO:elastalert:Alert for Mike Learning Two at 2016-03-30T08:27:52.137927Z:
INFO:elastalert:Mike Learning Two
An abnormal number (0) of events occurred around 2016-03-30 08:27 UTC.
Preceding that time, there were only 0 events within 0:01:00
@timestamp: 2016-03-30T08:27:52.137927Z
reference_count: 0
spike_count: 0
我做错了什么还是这是一个错误?