When i try to create new index as below,
PUT /message202010
{
"mappings": {
"properties": {
"CrashStatus": {
"type": "keyword"}}}}
i got the error message:
{
"error" : {
"root_cause" : [
{
"type" : "illegal_argument_exception",
"reason" : "mapping fields [CrashStatus] cannot be replaced during template composition"
}
],
"type" : "illegal_argument_exception",
"reason" : "mapping fields [CrashStatus] cannot be replaced during template composition"
},
"status" : 400
}
I tried index names: 'messag2020', 'xmessage2020' and any other names are not begin with 'message' can be created successfully. Or change the property name CrashStatus can work as well. CrashStatus field exists in other 'message' index.