How are fields handled when an index name does not match any templates?


This is less of a support question, and more of an curiosity one.

If I have an index named "mycoolindex-5000", and have no templates that will match that index name, my fields will generally still come out just fine (most will be strings, unless I set something as an integer or date in logstash when ingesting).

Is there a catch-all template that I am not aware of? What is happening that lets elasticsearch just roll with indices that dont match a template?


If no template matches, it will fall back on dynamic mapping unless you have explicitly disabled this and are using strict mappings.

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