Created
August 29, 2018 15:14
-
-
Save gustavomf-cit/3b95375a61d7d51db5c1736e20dcd0a3 to your computer and use it in GitHub Desktop.
elastalert agregation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: slack_alert_x | |
type: any | |
buffer_time: | |
minutes: 30 | |
index: api_x* | |
doc_type: api_x | |
bucket_interval: | |
minutes: 30 | |
sync_bucket_interval: true | |
max_threshold: 0.999 | |
metric_agg_key: time_callback | |
metric_agg_type: avg | |
query_key: apiname | |
filter: | |
- query: | |
query_string: | |
query: "apiname:\"awesomex\"" | |
- range: | |
time_spent: | |
from: 0.9 | |
to: 300 | |
realert: | |
hours: 1 | |
alert: | |
- slack | |
alert_subject: "performance issue" | |
slack_webhook_url: | |
- https://hooks.slack.com/services/zzzzzzzzzzzzzzzzzzzzzzzzzzzz/zzzzzzzzzzzzzzzzzzzzz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment