From 95003c5a761ba26dbd099c59dd94e074ecadd018 Mon Sep 17 00:00:00 2001 From: Keith Massey Date: Mon, 17 Mar 2025 13:20:34 -0500 Subject: [PATCH 1/2] Removing incorrect use of constant_keyword field type from deprecation logger mapping --- .../deprecation/deprecation-indexing-mappings.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/x-pack/plugin/core/template-resources/src/main/resources/deprecation/deprecation-indexing-mappings.json b/x-pack/plugin/core/template-resources/src/main/resources/deprecation/deprecation-indexing-mappings.json index cdbceb14c7a40..fd724a81e1e47 100644 --- a/x-pack/plugin/core/template-resources/src/main/resources/deprecation/deprecation-indexing-mappings.json +++ b/x-pack/plugin/core/template-resources/src/main/resources/deprecation/deprecation-indexing-mappings.json @@ -20,14 +20,13 @@ "data_stream": { "properties": { "type": { - "type": "constant_keyword", - "value": "logs" + "type": "keyword" }, "dataset": { - "type": "constant_keyword" + "type": "keyword" }, "namespace": { - "type": "constant_keyword" + "type": "keyword" } } }, From 5254448e52a6d42cfc7430f42f21e20ffb377e6a Mon Sep 17 00:00:00 2001 From: Keith Massey Date: Mon, 17 Mar 2025 13:57:48 -0500 Subject: [PATCH 2/2] Update docs/changelog/125048.yaml --- docs/changelog/125048.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 docs/changelog/125048.yaml diff --git a/docs/changelog/125048.yaml b/docs/changelog/125048.yaml new file mode 100644 index 0000000000000..499ee97b85236 --- /dev/null +++ b/docs/changelog/125048.yaml @@ -0,0 +1,6 @@ +pr: 125048 +summary: Removing incorrect use of `constant_keyword` field type from deprecation + logger mapping +area: Infra/Logging +type: bug +issues: []