From 0cc0cbc15c124f13795fea0f3ae20442086a7927 Mon Sep 17 00:00:00 2001 From: Nicolas Chaulet Date: Tue, 21 Apr 2020 16:07:23 -0400 Subject: [PATCH] [Fleet] Fix agent status count to not include unenrolled agents --- x-pack/plugins/ingest_manager/server/services/agents/status.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/ingest_manager/server/services/agents/status.ts b/x-pack/plugins/ingest_manager/server/services/agents/status.ts index 001b6d01f078e..fce989cea3248 100644 --- a/x-pack/plugins/ingest_manager/server/services/agents/status.ts +++ b/x-pack/plugins/ingest_manager/server/services/agents/status.ts @@ -67,7 +67,7 @@ export async function getAgentStatusForConfig( AgentStatusKueryHelper.buildKueryForOfflineAgents(), ].map(kuery => listAgents(soClient, { - showInactive: true, + showInactive: false, perPage: 0, page: 1, kuery: configId