You've already forked dockerfiles
mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-08-08 22:27:53 +02:00
update elastalert
This commit is contained in:
@@ -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]
|
||||
|
Reference in New Issue
Block a user