Hello,
I am trying to create a template for dynamic indexes. The main reason to create the template is to make sure some of my properties are not indexed. The same works in ES 2.x. Below is my template:
PUT /_template/cisprodindextemplate
{
"template": "logstash-cis-prod-*",
"settings": {
"index": {
"number_of_shards": 1,
"number_of_replicas": 1
},
"mappings": {
"cisprod": {
"properties": {
"events": {
"type": "string",
"index": "false"
}
}
}
}
}
}
I get the following error:
{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "unknown setting [index.mappings.cisprod.properties.events.index] please check that any required plugins are installed, or check the breaking changes documentation for removed settings"
}
],
"type": "illegal_argument_exception",
"reason": "unknown setting [index.mappings.cisprod.properties.events.index] please check that any required plugins are installed, or check the breaking changes documentation for removed settings"
},
"status": 400
}
Any help is really appreciated.
Ravi.