Skip to content

Commit 1fe00df

Browse files
klacabanejbaiera
andcommitted
[Stack Monitoring] add kibana_stats version alias to -mb template (elastic#83930)
* add kibana_stats version alias * increment version number Co-authored-by: James Baiera <[email protected]> Co-authored-by: James Baiera <[email protected]> (cherry picked from commit d1bd822)
1 parent 08d8ecf commit 1fe00df

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,10 @@
492492
"uuid": {
493493
"type": "alias",
494494
"path": "service.id"
495+
},
496+
"version": {
497+
"type": "alias",
498+
"path": "service.version"
495499
}
496500
}
497501
},

x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/MonitoringTemplateRegistry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public class MonitoringTemplateRegistry extends IndexTemplateRegistry {
7777
* writes monitoring data in ECS format as of 8.0. These templates define the ECS schema as well as alias fields for the old monitoring
7878
* mappings that point to the corresponding ECS fields.
7979
*/
80-
public static final int STACK_MONITORING_REGISTRY_VERSION = Version.V_8_0_0.id;
80+
public static final int STACK_MONITORING_REGISTRY_VERSION = Version.V_8_0_0.id + 1;
8181
private static final String STACK_MONITORING_REGISTRY_VERSION_VARIABLE = "xpack.stack.monitoring.template.release.version";
8282
private static final String STACK_TEMPLATE_VERSION = "8";
8383
private static final String STACK_TEMPLATE_VERSION_VARIABLE = "xpack.stack.monitoring.template.version";

0 commit comments

Comments
 (0)