Hi guys,
I'm trying to create a new template. This template is a "default", and all indices must be create with this template.
I use Dev Tools on Kibana to create it.
PUT _template/template_default
{
"template" : "template_default",
"template_default": {
"order": 0,
"template": "*",
"settings": {
"index": {
"number_of_shards": "2",
"number_of_replicas": "1"
}
}
}
}
It returns
{
"acknowledged": true
}
So i think it's actually good, but when i list my template, i have this return:
{
"template_default": {
"order": 0,
"template": "template_default",
"settings": {},
"mappings": {},
"aliases": {}
}
}
In fact, i can't change fields.
I don't know why.
If you had any idea...
Regards.