forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Rule Registry] ignore some errors while updating index mappings (ela…
…stic#140778) resolves elastic#139969 Changes the ResourceInstaller to ignore cases when the elasticsearch simulateIndexTemplate() API returns an error or empty mappings, logging an error instead. This will hopefully allow initialization to continue to set up the alerts-as-data indices and backing resources for future indexing. Also adds _meta: { managed: true } to the ILM policy, which should show a warning in Kibana UX when attempting to make changes to the policy. Which was the cause of why simulateIndexTemplate() could return empty mappings. (cherry picked from commit 01daf31)
- Loading branch information
Showing
3 changed files
with
163 additions
and
4 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
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
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