diff --git a/x-pack/plugin/core/src/main/resources/logs-mappings.json b/x-pack/plugin/core/src/main/resources/logs-mappings.json index 5e978ea5688..306aa251247 100644 --- a/x-pack/plugin/core/src/main/resources/logs-mappings.json +++ b/x-pack/plugin/core/src/main/resources/logs-mappings.json @@ -31,6 +31,20 @@ } } }, + "datastream": { + "properties": { + "type": { + "type": "constant_keyword", + "value": "logs" + }, + "dataset": { + "type": "constant_keyword" + }, + "namespace": { + "type": "constant_keyword" + } + } + }, "ecs": { "properties": { "version": { diff --git a/x-pack/plugin/core/src/main/resources/metrics-mappings.json b/x-pack/plugin/core/src/main/resources/metrics-mappings.json index 6ef2f6b0711..711723f7f99 100644 --- a/x-pack/plugin/core/src/main/resources/metrics-mappings.json +++ b/x-pack/plugin/core/src/main/resources/metrics-mappings.json @@ -31,6 +31,20 @@ } } }, + "datastream": { + "properties": { + "type": { + "type": "constant_keyword", + "value": "metrics" + }, + "dataset": { + "type": "constant_keyword" + }, + "namespace": { + "type": "constant_keyword" + } + } + }, "ecs": { "properties": { "version": {