diff --git a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/exporter/MonitoringTemplateUtils.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/exporter/MonitoringTemplateUtils.java index 6d09f4a91b66f..9f978cc39a4b7 100644 --- a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/exporter/MonitoringTemplateUtils.java +++ b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/exporter/MonitoringTemplateUtils.java @@ -28,8 +28,11 @@ public final class MonitoringTemplateUtils { * The last version of X-Pack that updated the templates and pipelines. *
* It may be possible for this to diverge between templates and pipelines, but for now they're the same. + * + * Note that the templates were last updated in 7.11.0, but the versions were not updated, meaning that upgrades + * to 7.11.0 would not have updated the templates. See https://github.com/elastic/elasticsearch/pull/69317. */ - public static final int LAST_UPDATED_VERSION = Version.V_7_0_1.id; + public static final int LAST_UPDATED_VERSION = Version.V_7_12_0.id; /** * Current version of templates used in their name to differentiate from breaking changes (separate from product version). diff --git a/x-pack/plugin/core/src/main/resources/monitoring-alerts-7.json b/x-pack/plugin/core/src/main/resources/monitoring-alerts-7.json index f458ae6ad85ff..3c5c25a153035 100644 --- a/x-pack/plugin/core/src/main/resources/monitoring-alerts-7.json +++ b/x-pack/plugin/core/src/main/resources/monitoring-alerts-7.json @@ -1,6 +1,6 @@ { "index_patterns": [ ".monitoring-alerts-${monitoring.template.version}" ], - "version": 7000199, + "version": 7120099, "settings": { "index": { "number_of_shards": 1, diff --git a/x-pack/plugin/core/src/main/resources/monitoring-beats.json b/x-pack/plugin/core/src/main/resources/monitoring-beats.json index ea9afbd04d5c6..876d58dd45f6d 100644 --- a/x-pack/plugin/core/src/main/resources/monitoring-beats.json +++ b/x-pack/plugin/core/src/main/resources/monitoring-beats.json @@ -9,7 +9,7 @@ "index.number_of_replicas": 0, "index.number_of_shards": 1 }, - "version": 7000199, + "version": 7120099, "mappings": { "_doc": { "dynamic": false, diff --git a/x-pack/plugin/core/src/main/resources/monitoring-es.json b/x-pack/plugin/core/src/main/resources/monitoring-es.json index fb7d2d7764a90..8e684703f082d 100644 --- a/x-pack/plugin/core/src/main/resources/monitoring-es.json +++ b/x-pack/plugin/core/src/main/resources/monitoring-es.json @@ -1,6 +1,6 @@ { "index_patterns": [ ".monitoring-es-${monitoring.template.version}-*" ], - "version": 7000199, + "version": 7120099, "settings": { "index.number_of_shards": 1, "index.number_of_replicas": 0, diff --git a/x-pack/plugin/core/src/main/resources/monitoring-kibana.json b/x-pack/plugin/core/src/main/resources/monitoring-kibana.json index 6ae61f6d6c64b..9755d57996ee9 100644 --- a/x-pack/plugin/core/src/main/resources/monitoring-kibana.json +++ b/x-pack/plugin/core/src/main/resources/monitoring-kibana.json @@ -1,6 +1,6 @@ { "index_patterns": [ ".monitoring-kibana-${monitoring.template.version}-*" ], - "version": 7000199, + "version": 7120099, "settings": { "index.number_of_shards": 1, "index.number_of_replicas": 0, diff --git a/x-pack/plugin/core/src/main/resources/monitoring-logstash.json b/x-pack/plugin/core/src/main/resources/monitoring-logstash.json index 40f5b2ca217b6..922cb32f2694e 100644 --- a/x-pack/plugin/core/src/main/resources/monitoring-logstash.json +++ b/x-pack/plugin/core/src/main/resources/monitoring-logstash.json @@ -1,6 +1,6 @@ { "index_patterns": [ ".monitoring-logstash-${monitoring.template.version}-*" ], - "version": 7000199, + "version": 7120099, "settings": { "index.number_of_shards": 1, "index.number_of_replicas": 0,