From 16d963b8e3459e4cd3a188de4a17f783cfbd7d09 Mon Sep 17 00:00:00 2001 From: Chris Earle Date: Fri, 31 Mar 2017 17:17:02 -0400 Subject: [PATCH] [Monitoring] Use 'index_patterns' instead of 'template' (elastic/x-pack-elasticsearch#883) Original commit: elastic/x-pack-elasticsearch@f1a217b597b2338ef748717fa24cf00936c26fdc --- plugin/src/main/resources/monitoring-alerts.json | 4 ++-- plugin/src/main/resources/monitoring-beats.json | 2 +- plugin/src/main/resources/monitoring-logstash.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugin/src/main/resources/monitoring-alerts.json b/plugin/src/main/resources/monitoring-alerts.json index 6e7f5f2a9ea..87313c3fbad 100644 --- a/plugin/src/main/resources/monitoring-alerts.json +++ b/plugin/src/main/resources/monitoring-alerts.json @@ -1,5 +1,5 @@ { - "template": ".monitoring-alerts-${monitoring.template.version}", + "index_patterns": ".monitoring-alerts-${monitoring.template.version}", "settings": { "index": { "number_of_shards": 1, @@ -54,5 +54,5 @@ } } }, - "version": 50400 + "version": 60000 } diff --git a/plugin/src/main/resources/monitoring-beats.json b/plugin/src/main/resources/monitoring-beats.json index a9a63b7f8d2..e3843e0f970 100644 --- a/plugin/src/main/resources/monitoring-beats.json +++ b/plugin/src/main/resources/monitoring-beats.json @@ -1,5 +1,5 @@ { - "template": ".monitoring-beats-${monitoring.template.version}-*", + "index_patterns": ".monitoring-beats-${monitoring.template.version}-*", "settings": { "index.number_of_shards": 1, "index.number_of_replicas": 1, diff --git a/plugin/src/main/resources/monitoring-logstash.json b/plugin/src/main/resources/monitoring-logstash.json index 790f194aa3c..c48348bded1 100644 --- a/plugin/src/main/resources/monitoring-logstash.json +++ b/plugin/src/main/resources/monitoring-logstash.json @@ -1,5 +1,5 @@ { - "template": ".monitoring-logstash-${monitoring.template.version}-*", + "index_patterns": ".monitoring-logstash-${monitoring.template.version}-*", "settings": { "index.number_of_shards": 1, "index.number_of_replicas": 1,