From c7f7f95e265f74305e79a7e89ab187dc08b628a7 Mon Sep 17 00:00:00 2001 From: Mo Basher <36448614+besha100@users.noreply.github.com> Date: Mon, 3 Jun 2024 18:47:46 +0200 Subject: [PATCH] Fix traces index schema bug (#1865) Signed-off-by: Basher --- .../otel-services/schemas/traces-1.0.0.mapping.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/server/adaptors/integrations/__data__/repository/otel-services/schemas/traces-1.0.0.mapping.json b/server/adaptors/integrations/__data__/repository/otel-services/schemas/traces-1.0.0.mapping.json index ce0aef396..e189ac600 100644 --- a/server/adaptors/integrations/__data__/repository/otel-services/schemas/traces-1.0.0.mapping.json +++ b/server/adaptors/integrations/__data__/repository/otel-services/schemas/traces-1.0.0.mapping.json @@ -1,7 +1,5 @@ { - "index_patterns": [ - "ss4o_traces-*-*" - ], + "index_patterns": ["ss4o_traces-*-*"], "template": { "mappings": { "_meta": { @@ -107,8 +105,9 @@ }, "attributes": { "type": "object", - "data_stream": { - "properties": { + "properties": { + "data_stream": { + "properties": { "dataset": { "ignore_above": 128, "type": "keyword" @@ -182,7 +181,8 @@ "type": "keyword" } } - }, + } + }, "composed_of": [], "version": 1, "_meta": {