1.已经配置好了,在debug的时候match也有显示,但是alert就是不发出来,配置文件如下:
rule的配置:
name: ossec_rule
type: any
index: logstash-ossec-*
filter:
- term:
type: "ossec"
alert:
- "post"
http_post_url: "http://.../"
config.yaml的配置:
rules_folder: ossec_rules
run_every:
seconds: 1
buffer_time:
seconds: 1
es_host: 127.0.0.1
es_port: 9200
writeback_index: elastalert_status
alert_time_limit:
days: 1
求解,真的很急,谢谢各位好人
是一条告警也没有,还是有的有,有的没有?每分钟发送的条数限制那里配置了吗?