From b06148db267aacd8ec272e9f6280e8d150ed6a20 Mon Sep 17 00:00:00 2001 From: Jatin Kathuria Date: Tue, 12 Nov 2024 16:51:51 +0100 Subject: [PATCH] fix: data format --- .../apps/discover/context_awareness/_data_source_profile.ts | 4 ++-- .../common/discover/context_awareness/_data_source_profile.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/functional/apps/discover/context_awareness/_data_source_profile.ts b/test/functional/apps/discover/context_awareness/_data_source_profile.ts index bb1ae9fffc6d4..30ead2e164a8e 100644 --- a/test/functional/apps/discover/context_awareness/_data_source_profile.ts +++ b/test/functional/apps/discover/context_awareness/_data_source_profile.ts @@ -224,8 +224,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { 'agent.name': ['java'], 'agent.name.text': ['java'], 'data_stream.type': ['logs'], - 'host.name': 'some_host', - 'host.name.keyword': 'some_host', + 'host.name': ['some_host'], + 'host.name.keyword': ['some_host'], 'log.level': ['debug'], message: ['This is a debug log'], 'service.name': ['product'], diff --git a/x-pack/test_serverless/functional/test_suites/common/discover/context_awareness/_data_source_profile.ts b/x-pack/test_serverless/functional/test_suites/common/discover/context_awareness/_data_source_profile.ts index 96fe35ec47977..8fee13fd1c7f6 100644 --- a/x-pack/test_serverless/functional/test_suites/common/discover/context_awareness/_data_source_profile.ts +++ b/x-pack/test_serverless/functional/test_suites/common/discover/context_awareness/_data_source_profile.ts @@ -220,8 +220,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { 'agent.name': ['java'], 'agent.name.text': ['java'], 'data_stream.type': ['logs'], - 'host.name': 'some_host', - 'host.name.keyword': 'some_host', + 'host.name': ['some_host'], + 'host.name.keyword': ['some_host'], 'log.level': ['debug'], message: ['This is a debug log'], 'service.name': ['product'],