Set monitoring

Overwrites or creates the ECE-managed monitoring destination for an Elasticsearch cluster.

Request

POST /api/v1/clusters/elasticsearch/{cluster_id}/monitoring/{dest_cluster_id}

Path Parameters

cluster_id (required)
(string) Identifier for the Elasticsearch cluster
dest_cluster_id (required)
(string) The id of the cluster that will be the new monitoring destination

Responses

202
(EmptyResponse) The destination monitoring cluster creation/overwrite request was initiated
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')