diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/agent_logs.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/agent_logs.tsx index 783a960aff120..045c9c28c378c 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/agent_logs.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/agent_logs.tsx @@ -277,9 +277,9 @@ export const AgentLogsUI: React.FunctionComponent = memo( return ( - {agentPolicy && !agentPolicy.monitoring_enabled?.includes('logs') && ( - - )} + {agentPolicy && + !agentPolicy.monitoring_enabled?.includes('logs') && + !agentPolicy.is_managed && }