diff --git a/x-pack/plugins/ingest_manager/common/services/agent_status.ts b/x-pack/plugins/ingest_manager/common/services/agent_status.ts index d9e54d1159caf..51b1a09767a32 100644 --- a/x-pack/plugins/ingest_manager/common/services/agent_status.ts +++ b/x-pack/plugins/ingest_manager/common/services/agent_status.ts @@ -37,11 +37,11 @@ export function getAgentStatus(agent: Agent, now: number = Date.now()): AgentSta return 'online'; } -export function buildKueryForEnrolingAgents() { +export function buildKueryForEnrollingAgents() { return `not ${AGENT_SAVED_OBJECT_TYPE}.last_checkin:*`; } -export function buildKueryForUnenrolingAgents() { +export function buildKueryForUnenrollingAgents() { return `${AGENT_SAVED_OBJECT_TYPE}.unenrollment_started_at:*`; } diff --git a/x-pack/plugins/ingest_manager/public/applications/ingest_manager/sections/fleet/components/donut_chart.tsx b/x-pack/plugins/ingest_manager/public/applications/ingest_manager/sections/fleet/components/donut_chart.tsx index 57ef70e8f2739..99a4f27b428fe 100644 --- a/x-pack/plugins/ingest_manager/public/applications/ingest_manager/sections/fleet/components/donut_chart.tsx +++ b/x-pack/plugins/ingest_manager/public/applications/ingest_manager/sections/fleet/components/donut_chart.tsx @@ -31,7 +31,7 @@ export const DonutChart = ({ height, width, data }: DonutChartProps) => { .ordinal() // @ts-ignore .domain(data) - .range(['#017D73', '#98A2B3', '#BD271E', '#9b6900']); + .range(['#017D73', '#98A2B3', '#BD271E', '#F5A700']); const pieGenerator = d3.layout .pie() .value(({ value }: any) => value)