Capture diagnostics for an Elasticsearch or Kibana resource
- POST /deployments/{deployment_id}/{resource_kind}/{ref_id}/diagnostics/_capture
Retrieves a diagnostic bundle from an active cluster. To successfully retrieve a diagnostic bundle, the cluster must be responsive.
Responses
The diagnostic bundle as a zip file
Response Type: string · format: byte
- The Deployment specified by {deployment_id} cannot be found. (code:
deployments.deployment_not_found) - The Resource specified by {ref_id} cannot be found. (code:
deployments.deployment_resource_not_found)
The diagnostics cannot be generated because the cluster is either stopped or initializing. (code: clusters.cluster_plan_state_error)