I am facing the unknown key for my index template creation time,
"reason": "unknown key [index_patterns] for create index"
below is the top heading of my template
{
"index_patterns" : [
"data_center-*"
],
"template": {
"settings" : {
"number_of_shards" : "1"
},
"mappings" : {
"properties" : {
"path" : {
"type" : "keyword"
},
i was following this for template creations
please suggest,