Hello,
Can anyone would let me know if there are best practices for creating templates for indices?
Hello,
Can anyone would let me know if there are best practices for creating templates for indices?
Not really, no.
What problem are you trying to solve?
Like if I can have multiple templates along with one general template?
eg: I have a template for IIS logs, another one for MSSQL logs and the other general template which for cross-index search (Common index pattern)
Take a look at the order
parameter here https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-templates-v1.html#put-index-template-v1-api-query-params
Sorry if I hijack the thread, but is this parameter removed with the new composable index templates? If so, how can I have an index match multiple templates in ES 7.10? Thanks!
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.