Hi,
When POSTing my template json to: http://es:9200/_template/gaia_template everything works just fine, but when I place it under ES_HOME/config/templates/gaia_template.json, nothing happens.
I've tried to look inside ES server logs in debug mode but could not find any suspicious thing.
I'm using ES 2.1.0
This is the json I'm using:
{
"template": "gaia_*",
"mappings": {
"_default_": {
"dynamic_templates": [
{
"strings": {
"match_mapping_type": "string",
"mapping": {
"type": "string",
"index": "not_analyzed"
}
}
},
{
"timestamp_field": {
"match": "timestamp",
"mapping": {
"type": "date"
}
}
}
]
}
}
}
Any comment will be appreciated.
Thanks!
Shay