1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-08-08 22:27:53 +02:00

update elastalert

This commit is contained in:
kev
2019-10-30 18:57:53 +08:00
parent 3e1c0d9d79
commit cb3370fc15
4 changed files with 20 additions and 12 deletions

View File

@@ -7,8 +7,12 @@ type: frequency
index: logstash-*
doc_type: _doc
num_events: 10
use_count_query: true
timeframe:
hours: 1
@@ -20,6 +24,4 @@ filter:
alert:
- command
command:
- echo
- "{match[@timestamp]} {match[message]}"
command: [echo, bad, things, happen]