Skip to content

Commit

Permalink
[8.0] [Stack Monitoring] add kibana_stats version alias to -mb templa…
Browse files Browse the repository at this point in the history
…te (#83930) (#84017)

Co-authored-by: James Baiera <[email protected]>
  • Loading branch information
klacabane and jbaiera authored Feb 16, 2022
1 parent 586f0f9 commit b9f345b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,10 @@
"uuid": {
"type": "alias",
"path": "service.id"
},
"version": {
"type": "alias",
"path": "service.version"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public class MonitoringTemplateRegistry extends IndexTemplateRegistry {
* 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
* mappings that point to the corresponding ECS fields.
*/
public static final int STACK_MONITORING_REGISTRY_VERSION = Version.V_8_0_0.id;
public static final int STACK_MONITORING_REGISTRY_VERSION = Version.V_8_0_0.id + 1;
private static final String STACK_MONITORING_REGISTRY_VERSION_VARIABLE = "xpack.stack.monitoring.template.release.version";
private static final String STACK_TEMPLATE_VERSION = "8";
private static final String STACK_TEMPLATE_VERSION_VARIABLE = "xpack.stack.monitoring.template.version";
Expand Down

0 comments on commit b9f345b

Please sign in to comment.