Bulk request diagnostics from agents
Spaces method and path for this operation:
post /s/{space_id}/api/fleet/agents/bulk_request_diagnostics
Refer to Spaces for more information.
POST /api/fleet/agents/bulk_request_diagnostics
curl \ --request POST 'https://localhost:5601/api/fleet/agents/bulk_request_diagnostics' \ --header "Authorization: $API_KEY" \ --header "Content-Type: application/json" \ --header "kbn-xsrf: string" \ --data '{"agents":"fleet-agents.policy_id : (\"policy1\" or \"policy2\")"}' Request example
{ "agents": "fleet-agents.policy_id : (\"policy1\" or \"policy2\")" }