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 (#14…
…0778) resolves #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) # Conflicts: # x-pack/plugins/rule_registry/server/rule_data_plugin_service/resource_installer.test.ts # x-pack/plugins/rule_registry/server/rule_data_plugin_service/resource_installer.ts
- Loading branch information