From b4de13563241db27b967e6c9ca499b905d4ffdf3 Mon Sep 17 00:00:00 2001 From: Ying Date: Wed, 7 May 2025 09:08:05 -0400 Subject: [PATCH 1/2] Adding scheduled_report_id field to kibana reporting template --- .../src/main/resources/kibana-reporting@template.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/x-pack/plugin/core/template-resources/src/main/resources/kibana-reporting@template.json b/x-pack/plugin/core/template-resources/src/main/resources/kibana-reporting@template.json index 240ad36199fe3..0ac0e339252ee 100644 --- a/x-pack/plugin/core/template-resources/src/main/resources/kibana-reporting@template.json +++ b/x-pack/plugin/core/template-resources/src/main/resources/kibana-reporting@template.json @@ -42,6 +42,9 @@ "jobtype": { "type": "keyword" }, + "scheduled_report_id": { + "type": "keyword" + }, "payload": { "type": "object", "enabled": false From 6208712359e1ca6481834e786390c4cb5352f810 Mon Sep 17 00:00:00 2001 From: Ying Date: Fri, 6 Jun 2025 10:06:24 -0400 Subject: [PATCH 2/2] Incrementing stack template registry version --- .../org/elasticsearch/xpack/stack/StackTemplateRegistry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugin/stack/src/main/java/org/elasticsearch/xpack/stack/StackTemplateRegistry.java b/x-pack/plugin/stack/src/main/java/org/elasticsearch/xpack/stack/StackTemplateRegistry.java index 82275bf2c24c8..4a2d3e2e228de 100644 --- a/x-pack/plugin/stack/src/main/java/org/elasticsearch/xpack/stack/StackTemplateRegistry.java +++ b/x-pack/plugin/stack/src/main/java/org/elasticsearch/xpack/stack/StackTemplateRegistry.java @@ -38,7 +38,7 @@ public class StackTemplateRegistry extends IndexTemplateRegistry { // The stack template registry version. This number must be incremented when we make changes // to built-in templates. - public static final int REGISTRY_VERSION = 15; + public static final int REGISTRY_VERSION = 16; public static final String TEMPLATE_VERSION_VARIABLE = "xpack.stack.template.version"; public static final Setting STACK_TEMPLATES_ENABLED = Setting.boolSetting(