Elastic Agent actions
Request agent diagnostics
Spaces method and path for this operation:
<div><span class="operation-verb post">post</span> <span class="operation-path">/s/{space_id}/api/fleet/agents/{agentId}/request_diagnostics</span></div>Refer to Spaces for more information.
Request a diagnostics bundle from a specific agent.<br/><br/>[Required authorization] Route required privileges: fleet-agents-read.
post/api/fleet/agents/{agentId}/request_diagnostics
Request
- Base URLhttps://localhost:5601
- URLhttps://localhost:5601/api/fleet/agents/{agentId}/request_diagnostics
- Auth
- API key in header Authorization
- or HTTP basic
Path parameters
agentIdstring required
The agent ID
Headers
kbn-xsrfstring required
Example:true
A required header to protect against CSRF attacks
Request body
Response
Successful response
Changes
No operation changes recorded.