From f8d03df2483432ba3d8f269494f2a57f4a0975f2 Mon Sep 17 00:00:00 2001 From: Joe Reuter Date: Wed, 23 Jul 2025 15:38:28 +0200 Subject: [PATCH] update mapping --- .../templates/component/logs@stream.layer.json | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/elastic/logs/templates/component/logs@stream.layer.json b/elastic/logs/templates/component/logs@stream.layer.json index 87e953aad..eb805e5a9 100644 --- a/elastic/logs/templates/component/logs@stream.layer.json +++ b/elastic/logs/templates/component/logs@stream.layer.json @@ -34,10 +34,8 @@ "type": "object", "properties": { "structured": { - "type": "flattened" - }, - "text": { - "type": "match_only_text" + "type": "object", + "subobjects": false } } }, @@ -68,11 +66,15 @@ "path": "resource.attributes.host.name", "type": "alias" }, + "servce.name": { + "path": "resource.attributes.service.name", + "type": "alias" + }, "resource.attributes.host.name": { "type": "keyword" }, - "observed_timestamp": { - "type": "date" + "resource.attributes.service.name": { + "type": "keyword" }, "trace_id": { "type": "keyword"