Forbid templateless index creation?

Is there a way to tell elastic search to not create an index without using a template?

I still want the "automatic" index creation upon first write to a new index, I really don't want elasticsearch (ES) to be guessing about the types of fields--that way lies bad/subtle and hard to figure out corruption bugs. I want ES to always be using a template, or to fail to write and create a new index if there is no appropriate template available.

I don't think there is a way to enforce that, but it's an interesting use.
Would you mind creating a feature request on github?

This was opened as #23463.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.