You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are 2 ways to create an index template, using the _template end point (dynamic) and as static templates (under config/templates). Currently, when an index is created matching a template (static or dynamic), we log the following entry in the ES log:
There is no indication on which template it used to create the index.
We have seen situations in the field where the end user is confused because they have both dynamic and static templates defined (and dynamic templates take precedence), or if they have multiple templates with the same template matching criteria defined as static templates (so that 1 static template is overwriting the other).
It would be nice to provide some indication in the log regarding the template used when we write out the creating index entry to specify:
if the template used is a dynamic or static template, if dynamic, the template name
if it is a static template, the file name of the static template it is using
The text was updated successfully, but these errors were encountered:
Thanks for picking this up. In answer to your question, I'd say that we log the template names in the order that they're applied. Or perhaps I've misunderstood?
When you're ready with your changes, please open a PR referencing this issue, and (if you haven't done so already) sign the CLA
There are 2 ways to create an index template, using the _template end point (dynamic) and as static templates (under config/templates). Currently, when an index is created matching a template (static or dynamic), we log the following entry in the ES log:
There is no indication on which template it used to create the index.
We have seen situations in the field where the end user is confused because they have both dynamic and static templates defined (and dynamic templates take precedence), or if they have multiple templates with the same template matching criteria defined as static templates (so that 1 static template is overwriting the other).
It would be nice to provide some indication in the log regarding the template used when we write out the creating index entry to specify:
The text was updated successfully, but these errors were encountered: