When creating an Index Template, I get this error:
Error when creating Template: composable template template after composition is invalid
I observe that:
- This error occurs only when I use the normal index template. If I use the Legacy Template then it is created without any problems
- If I completely remove the mappings, then the template is created ok. (but later on I still cannot add the mapping)
Here the mapping:
{
"mappings": {
"properties": {
"@version": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"@timestamp": {
"type": "date"
},
"application_server": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"application_server2": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"application_server3": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}
}
}
}