opensearch-project / alerting-dashboards-plugin

📟 Manage your monitors, alerts and notifications in OpenSearch Dashboards
https://opensearch.org/docs/latest/monitoring-plugins/alerting/index/
Apache License 2.0
25 stars 88 forks source link

BugFix: [Alert Summary]change the format configuration correspondingly #1118

Open qianheng-aws opened 1 month ago

qianheng-aws commented 1 month ago

Description

The current implementation removes the format configuration directly in the DSL query, it will cause query execution error in the corner cases that the timestamp field in index doesn't support the format of strict_date_optional_time. It can be fixed with specifying the format to be strict_date_optional_time in DSL.

Issues Resolved

Check List

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.