chore: update alerting template with index health change (#38)
This commit is contained in:
parent
318ba82eed
commit
5ad4ebd92f
|
@ -397,14 +397,10 @@ POST $[[SETUP_INDEX_PREFIX]]alert-rule/$[[SETUP_DOC_TYPE]]/builtin-calavvp7h710d
|
||||||
"resource_name": "$[[SETUP_RESOURCE_NAME]]",
|
"resource_name": "$[[SETUP_RESOURCE_NAME]]",
|
||||||
"type": "elasticsearch",
|
"type": "elasticsearch",
|
||||||
"objects": [
|
"objects": [
|
||||||
".infini_index"
|
".infini_metrics"
|
||||||
],
|
],
|
||||||
"filter": {},
|
"filter": {},
|
||||||
"raw_filter": {
|
"raw_filter": {"bool":{"must":[{"match":{"payload.elasticsearch.index_health.status":"red"}},{"term":{"metadata.name":{"value":"index_health"}}}]}},
|
||||||
"match": {
|
|
||||||
"metadata.labels.health_status": "red"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"time_field": "timestamp",
|
"time_field": "timestamp",
|
||||||
"context": {
|
"context": {
|
||||||
"fields": null
|
"fields": null
|
||||||
|
|
Loading…
Reference in New Issue