Generate diagnostics

Retrieves a support diagnostic bundle from the running Elasticsearch cluster.

Request

GET /api/v1/clusters/elasticsearch/{cluster_id}/support/_generate-diagnostics

Path Parameters

cluster_id (required)
(string) Identifier for the Elasticsearch cluster

Responses

200
(string as byte) The support diagnostic bundle was successfully generated.
404
(BasicFailedReply) The cluster specified by {cluster_id} cannot be found (code: 'clusters.cluster_not_found')
449
(BasicFailedReply) When running as an administrator (other than root), sudo is required (code: 'root.needs_sudo')