-
Notifications
You must be signed in to change notification settings - Fork 8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ML] Anomaly Detection: Use data view
esTypes
instead of custom fie…
…ld caps wrapper endpoint. (#182588) ## Summary Fixes #182514. The links menu for the anomalies table used a custom field caps wrapper API endpoint to identify the type of the categorization field. This PR changes this to use the data view API instead to use `esTypes` for the same check. This allows us to remove the custom field caps API endpoint completely. Removes the route `POST /internal/ml/indices/field_caps` as it is no longer required by the ml plugin. ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [x] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- Loading branch information
Showing
8 changed files
with
104 additions
and
304 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.