From 64ac7ea8fe143350e2b57d15dd7d254a6c44f564 Mon Sep 17 00:00:00 2001 From: "miriam.aparicio" Date: Mon, 14 Oct 2024 15:58:21 +0100 Subject: [PATCH 1/2] fix index pattern to accept otel indices, bump up version --- .../server/lib/entities/built_in/services_from_ecs_data.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/services_from_ecs_data.ts b/x-pack/plugins/entity_manager/server/lib/entities/built_in/services_from_ecs_data.ts index d6aa4d08ad221..0aa98a49a4660 100644 --- a/x-pack/plugins/entity_manager/server/lib/entities/built_in/services_from_ecs_data.ts +++ b/x-pack/plugins/entity_manager/server/lib/entities/built_in/services_from_ecs_data.ts @@ -17,7 +17,7 @@ export const builtInServicesFromEcsEntityDefinition: EntityDefinition = 'This definition extracts service entities from common data streams by looking for the ECS field service.name', type: 'service', managed: true, - indexPatterns: ['logs-*', 'filebeat*', 'traces-apm*'], + indexPatterns: ['logs-*', 'filebeat*', 'traces*'], latest: { timestampField: '@timestamp', lookbackPeriod: '10m', From 6679f12c8012401d04ffc45adba69352031e1c7e Mon Sep 17 00:00:00 2001 From: "miriam.aparicio" Date: Mon, 14 Oct 2024 16:06:45 +0100 Subject: [PATCH 2/2] mend fix index pattern to accept otel indices, bump up version --- .../server/lib/entities/built_in/services_from_ecs_data.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/entity_manager/server/lib/entities/built_in/services_from_ecs_data.ts b/x-pack/plugins/entity_manager/server/lib/entities/built_in/services_from_ecs_data.ts index 0aa98a49a4660..37c8b0f854dc8 100644 --- a/x-pack/plugins/entity_manager/server/lib/entities/built_in/services_from_ecs_data.ts +++ b/x-pack/plugins/entity_manager/server/lib/entities/built_in/services_from_ecs_data.ts @@ -10,14 +10,14 @@ import { BUILT_IN_ID_PREFIX } from './constants'; export const builtInServicesFromEcsEntityDefinition: EntityDefinition = entityDefinitionSchema.parse({ - version: '0.4.0', + version: '0.5.0', id: `${BUILT_IN_ID_PREFIX}services_from_ecs_data`, name: 'Services from ECS data', description: 'This definition extracts service entities from common data streams by looking for the ECS field service.name', type: 'service', managed: true, - indexPatterns: ['logs-*', 'filebeat*', 'traces*'], + indexPatterns: ['logs-*', 'filebeat*', 'traces-*'], latest: { timestampField: '@timestamp', lookbackPeriod: '10m',