From fe33cbd35918d266937442f4c1abbcccbf7d17ed Mon Sep 17 00:00:00 2001 From: Joseph Crail Date: Tue, 8 Feb 2022 03:31:59 -0800 Subject: [PATCH] Fix Elasticsearch query for top N hosts (#8) --- src/plugins/profiling/server/routes/search_topNHosts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/profiling/server/routes/search_topNHosts.ts b/src/plugins/profiling/server/routes/search_topNHosts.ts index 7c1a666f65d16..779a3d3d77b2e 100644 --- a/src/plugins/profiling/server/routes/search_topNHosts.ts +++ b/src/plugins/profiling/server/routes/search_topNHosts.ts @@ -14,5 +14,5 @@ export function registerTraceEventsTopNHostsSearchRoute( router: IRouter ) { const paths = getRemoteRoutePaths(); - return queryTopNCommon(router, paths.TopNHosts, 'HostName'); + return queryTopNCommon(router, paths.TopNHosts, 'HostID'); }