[Stack Monitoring] Add KQL validation to Stack Monitoring alerts #119863
Labels
Feature:Stack Monitoring
Team: Actionable Observability - DEPRECATED
For Observability Alerting and SLOs use "Team:obs-ux-management", for AIops "Team:obs-knowledge"
Team:Monitoring
Stack Monitoring team
In #111663 we added KQL filters to the stack monitoring alerts. We need to add a condition that will prevent the user from saving any alerts with invalid KQL filters. We also suppressed the JSON parsing of the
filterQuery
in the rules like:kibana/x-pack/plugins/monitoring/server/lib/alerts/fetch_cluster_health.ts
Lines 63 to 70 in 75fcfe1
After giving it some thought we should just let those errors bubble up.
Related issues and PRs:
The text was updated successfully, but these errors were encountered: