Remove index.mapper.dynamic from watcher and security templates

index.mapper.dynamic should not be used for 6.0+ indices, so this commit removes it from the
templates used by security and watcher.

Relates elastic/elasticsearch#25734

Original commit: elastic/x-pack-elasticsearch@766eebe660
This commit is contained in:
jaymode 2017-09-12 11:12:25 -06:00
parent 2f5aeb6c6f
commit 940e699e31
4 changed files with 2 additions and 6 deletions

View File

@ -2,8 +2,7 @@
"index_patterns": ".security_audit_log*",
"order": 2147483647,
"settings": {
"index.format": 6,
"index.mapper.dynamic" : false
"index.format": 6
},
"mappings": {
"doc": {

View File

@ -3,7 +3,6 @@
"order": 2147483647,
"settings": {
"index.number_of_shards": 1,
"index.mapper.dynamic" : false,
"index.refresh_interval" : "-1",
"index.format": 6,
"index.priority": 900

View File

@ -4,8 +4,7 @@
"settings": {
"xpack.watcher.template.version": "${xpack.watcher.template.version}",
"index.number_of_shards": 1,
"index.format": 6,
"index.mapper.dynamic": false
"index.format": 6
},
"mappings": {
"doc": {

View File

@ -3,7 +3,6 @@
"order": 2147483647,
"settings": {
"index.number_of_shards": 1,
"index.mapper.dynamic" : false,
"index.format": 6,
"index.priority": 800
},