Default datatype mapping in elasticsearch
First of all, I'd suggest not to use file system based configuration or mappings. Just do it via api.
Your mapping is malformed, as you have the type name (_default_
) but you don't specify that what you are submitting is a dynamic template.
As for the content, I'd remove that match_mapping_type
if you want to map everything as a string.