Enable Log Monitoring
This page will soon be available only on the dedicated Dynatrace Managed Documentation site. Update your bookmarks.
This API call enables the latest version of Dynatrace Log Monitoring for the specified environment.
To execute this request, you need the Service Provider API (
ServiceProviderAPI) permission assigned to your API token. Generate your API token via Cluster Management Console (CMC). To learn how to obtain and use it, see Cluster API - Authentication.
The ID of the environment.
Enabled. Response does not have a body.
Failed. The requested resource doesn't exist.
Minimum memory requirement of 64 GB per node is not met.
The Log Monitoring v2 cannot be enabled because the limit of log events per minute for this cluster is reached. Reduce log event ingestion per minute on other environments, so that at least 1,000 log events per minute are available for this cluster.
In this example, you enable the latest version of Dynatrace Log Monitoring for the environment:
1CURL -X POST "https://myManaged.cluster.com/api/cluster/v2/logMonitoring/19a963a7-b19f-4382-964a-4df674c8eb8e/enable"2 -H "accept: */*"3 -H "Authorization: Api-Token abcdefjhij1234567890"
Response does not have a body.