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


(Cody Burke) #1

Hello,

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?

Thanks!


(Christian Dahlqvist) #2

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


(system) #3

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