kibana/x-pack/test/alerting_api_integration
Patrick Mueller 5efd59b43f
[Alerting]: harden APIs of built-in alert index-threshold (#60702)
resolves https://github.com/elastic/kibana/issues/59889

The index threshold APIs - used by both the index threshold UI and the
alert executor - were returning errors (500's from http endpoints) when
getting errors from ES.

These have been changed so that the error is logged as a warning, and the
relevant API returns an "empty" result.

Another 500 response was found while experimenting with this.  Apparently
the date_range agg requires a date format to be passed in if the date format
in ES is not an ISO date.  The repro on this was to select the `.security`
alias (or it's index) within the index threshold alert UI, and then select
one of it's date fields.
2020-03-20 16:36:01 -04:00
..
basic License checks for actions plugin (#59070) 2020-03-20 10:49:37 -04:00
common [Alerting]: harden APIs of built-in alert index-threshold (#60702) 2020-03-20 16:36:01 -04:00
security_and_spaces License checks for actions plugin (#59070) 2020-03-20 10:49:37 -04:00
spaces_only [Alerting]: harden APIs of built-in alert index-threshold (#60702) 2020-03-20 16:36:01 -04:00