Skip to content

Commit

Permalink
[Stack Monitoring] add kibana_stats version alias to -mb template (el…
Browse files Browse the repository at this point in the history
…astic#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)
  • Loading branch information
klacabane committed Feb 16, 2022
1 parent 08d8ecf commit 1fe00df
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 1fe00df

Please sign in to comment.