Open simianhacker opened 2 years ago
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:
filterQuery
https://github.com/elastic/kibana/blob/75fcfe1c80ff78f2c3ef1f8065b531d171a3a273/x-pack/plugins/monitoring/server/lib/alerts/fetch_cluster_health.ts#L63-L70
After giving it some thought we should just let those errors bubble up.
Related issues and PRs:
Pinging @elastic/infra-monitoring-ui (Team:Infra Monitoring UI)
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:https://github.com/elastic/kibana/blob/75fcfe1c80ff78f2c3ef1f8065b531d171a3a273/x-pack/plugins/monitoring/server/lib/alerts/fetch_cluster_health.ts#L63-L70
After giving it some thought we should just let those errors bubble up.
Related issues and PRs: