[6.7] Deprecated field [template] used, replaced by [index_patterns] (#32879)

This commit is contained in:
Alexey Antonov 2019-03-11 21:38:15 +03:00 committed by GitHub
parent db9b734fe2
commit a073fcb10c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,7 +40,7 @@ export function createSavedObjectsService(server, schema, serializer, migrator)
name: `kibana_index_template:${index}`,
include_type_name: true,
body: {
template: index,
index_patterns: [index],
settings: {
number_of_shards: 1,
auto_expand_replicas: '0-1',