Skip to content

Commit fed630b

Browse files
authored
[Monitoring] Monitor beat version (#73932) (#73981)
1 parent 795bf32 commit fed630b

File tree

6 files changed

+9
-6
lines changed

6 files changed

+9
-6
lines changed

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/exporter/MonitoringTemplateUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public final class MonitoringTemplateUtils {
3232
* Note that the templates were last updated in 7.11.0, but the versions were not updated, meaning that upgrades
3333
* to 7.11.0 would not have updated the templates. See https://github.com/elastic/elasticsearch/pull/69317.
3434
*/
35-
public static final int LAST_UPDATED_VERSION = Version.V_7_12_0.id;
35+
public static final int LAST_UPDATED_VERSION = Version.V_7_14_0.id;
3636

3737
/**
3838
* Current version of templates used in their name to differentiate from breaking changes (separate from product version).

x-pack/plugin/core/src/main/resources/monitoring-alerts-7.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"index_patterns": [ ".monitoring-alerts-${monitoring.template.version}" ],
3-
"version": 7120099,
3+
"version": 7140099,
44
"settings": {
55
"index": {
66
"number_of_shards": 1,

x-pack/plugin/core/src/main/resources/monitoring-beats.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"index.number_of_replicas": 0,
1010
"index.number_of_shards": 1
1111
},
12-
"version": 7120099,
12+
"version": 7140099,
1313
"mappings": {
1414
"_doc": {
1515
"dynamic": false,
@@ -291,6 +291,9 @@
291291
"type": "long"
292292
}
293293
}
294+
},
295+
"version": {
296+
"type": "keyword"
294297
}
295298
}
296299
},

x-pack/plugin/core/src/main/resources/monitoring-es.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"index_patterns": [ ".monitoring-es-${monitoring.template.version}-*" ],
3-
"version": 7120099,
3+
"version": 7140099,
44
"settings": {
55
"index.number_of_shards": 1,
66
"index.number_of_replicas": 0,

x-pack/plugin/core/src/main/resources/monitoring-kibana.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"index_patterns": [ ".monitoring-kibana-${monitoring.template.version}-*" ],
3-
"version": 7120099,
3+
"version": 7140099,
44
"settings": {
55
"index.number_of_shards": 1,
66
"index.number_of_replicas": 0,

x-pack/plugin/core/src/main/resources/monitoring-logstash.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"index_patterns": [ ".monitoring-logstash-${monitoring.template.version}-*" ],
3-
"version": 7120099,
3+
"version": 7140099,
44
"settings": {
55
"index.number_of_shards": 1,
66
"index.number_of_replicas": 0,

0 commit comments

Comments
 (0)