Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow index template replacing, not just merging #32612

Closed
vbohata opened this issue Aug 3, 2018 · 2 comments
Closed

Allow index template replacing, not just merging #32612

vbohata opened this issue Aug 3, 2018 · 2 comments
Labels
discuss >feature :Search Foundations/Mapping Index mappings, including merging and defining field types Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch

Comments

@vbohata
Copy link

vbohata commented Aug 3, 2018

For log management deployment there could be hundereds of templates loaded to elasticsearch - just for beats it is for each beat, for each version one template. Sometimes the template definitions for a lot of versions is the same. It would be great to be able to create template with match to "filebeat-6.2.*" and if needed add another one with "order: 2" matching "filebeat-6.2.3". The second template should replace (not merge with) the first template. The replace/merge decision could be controlled by some "template uuid". If two templates share the same uuid, the template with higher order will replace the other one.

@jimczi jimczi added >feature discuss :Search Foundations/Mapping Index mappings, including merging and defining field types labels Aug 3, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search-aggs

@colings86
Copy link
Contributor

We discussed this in FixItFriday and said that template inheritance is already very complex and something we need to re-think anyway because of the problems it causes especially with validating index templates. We are inclined not to add further complexity to template inheritance at this time but will bear this in mind for the outcome of #21105

@javanna javanna added the Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch label Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss >feature :Search Foundations/Mapping Index mappings, including merging and defining field types Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch
Projects
None yet
Development

No branches or pull requests

5 participants