Can't find where dynamic_templates is being set

Hi,

I'm getting errors in our logs due to miss matched mapping. When I run this....

curl -XGET 'http://127.0.0.1:9200/name-2015.08.05/_mapping'

I see two dynamic_templates, but I don't know where the second one is being set. The first one is in _template. Can someone tell where else to look?

Thanks!

Theo

It could be a file based template?