Why do I have mappings for types that do not exist in my index?


(Charles Patton) #1

The way I understand it, ES automatically determines the mappings as best it can when there is not a template match for a given type.

That's all fine and dandy but what about this situation?

My Type Count Pastebin

It clearly reports that I have syslog and logs for types but my mappings reports different:

The Mappings Pastebin

So my question is two part: where is elasticsearch getting these mappings from and why do they exist when the types do not exist in my index?

Thanks,
ES newbie


(Mark Walkom) #2

Which types are you not expecting?


(Charles Patton) #3

Any type with a count of 0.


(Mark Walkom) #4

Ok, except there aren't an if that first link :stuck_out_tongue:


(Charles Patton) #5

To self-answer: they come from templates, curl 'localhost:9200/_template/*?pretty'


(Mark Walkom) #6

That makes sense, unlike my last post!


(system) #7