From 32cafa15610466deec5d8692a20e78915ed76536 Mon Sep 17 00:00:00 2001 From: "Al hel md. shahriar zaman" Date: Tue, 24 Dec 2024 14:10:10 +0600 Subject: [PATCH] refactored the alert error rule --- .../monitoring/elastalert/rules/log-error-alert.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure/monitoring/elastalert/rules/log-error-alert.yaml b/infrastructure/monitoring/elastalert/rules/log-error-alert.yaml index e2443ee71..fe10b84c8 100644 --- a/infrastructure/monitoring/elastalert/rules/log-error-alert.yaml +++ b/infrastructure/monitoring/elastalert/rules/log-error-alert.yaml @@ -6,7 +6,7 @@ # & Healthcare Disclaimer located at http://opencrvs.org/license. # # Copyright (C) The OpenCRVS Authors located at https://github.com/opencrvs/opencrvs-core/blob/master/AUTHORS. -name: 'log-alert' +name: 'log-error-alert' type: 'frequency' index: 'kibana-alert-history-default' is_enabled: true @@ -27,7 +27,7 @@ filter: - term: rule.name.keyword: value: 'Error while backup ' - minimum_should_match: 1 + alert: post2 http_post2_url: 'http://countryconfig:3040/email'