Enable Log Monitoring

Enables the Log Monitoring v2 for the specified environment.

Endpoint

/api/cluster/v2/logMonitoring/{environmentId}/enable

Parameters

Parameter Type Description In Required
environmentId string

The ID of the environment.

path required

Response

Response codes

Code Description
204

Enabled. Response does not have a body.

404

Failed. The requested resource doesn't exist.

500

Minimum memory requirement of 64 GB per node is not met.

Response body

A successful request doesn't return any content.

Example

In this example, you Enable Log Monitoring v2 for the environment: 19a963a7-b19f-4382-964a-4df674c8eb8e.

Curl

CURL -X POST "https://myManaged.cluster.com/api/cluster/v2/logMonitoring/19a963a7-b19f-4382-964a-4df674c8eb8e/enable" 
     -H "accept: */*" 
     -H "Authorization: Api-Token abcdefjhij1234567890"

Request URL

https://myManaged.cluster.com/api/cluster/v2/logMonitoring/19a963a7-b19f-4382-964a-4df674c8eb8e/enable

Response body

Response does not have a body.

Response code

204