File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ # Alert when no data has been received for more then 30 seconds.
2+
3+ # Rule name, must be unique
4+ name : No Data
5+
6+ # Type of alert.
7+ type : flatline
8+
9+ # Alert when this many documents matching the query occur within a timeframe
10+ threshold : 1
11+
12+ # num_events must occur within this amount of time to trigger an alert
13+ timeframe :
14+ seconds : 30
15+
16+ realert :
17+ minutes : 10
18+
19+ exponential_realert :
20+ hours : 1
21+
22+ doc_type : datapoint
23+
24+ # Index to search, wildcard supported
25+ index : bitsensor
26+ timestamp_field : endpoint.localtime
27+
28+ alert_subject : " No data on dev.bitsensor.io"
29+
30+ alert_text_type : alert_text_only
31+ alert_text : " The stack receives no data. It might be down :("
32+
33+ # The alert is use when a match is found
34+ alert :
35+ - slack
36+ slack_webhook_url : " https://hooks.slack.com/services/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"
37+ slack_username_override : " ElastAlert"
You can’t perform that action at this time.
0 commit comments