Gets the properties of an event type.
The request produces an application/json
payload.
GET | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/eventTypes/{eventType} |
Environment ActiveGateCluster ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/eventTypes/{eventType} |
To execute this request, you need an access token with events.read
scope.
To learn how to obtain and use it, see Tokens and authentication.
The event type you're inquiring.
EventType
objectConfiguration of an event type.
A short description of the event type.
The display name of the event type.
The severity level associated with the event type.
AVAILABILITY
CUSTOM_ALERT
ERROR
INFO
MONITORING_UNAVAILABLE
PERFORMANCE
RESOURCE_CONTENTION
The event type.
{"description": "string","displayName": "High CPU","severityLevel": "PERFORMANCE","type": "OSI_HIGH_CPU"}
In this example, the request queries the properties of the APPLICATION_SLOWDOWN type.
The API token is passed in the Authorization header.
curl --request GET \--url 'https://mySampleEnv.live.dynatrace.com/api/v2/eventTypes/APPLICATION_SLOWDOWN' \--header 'Authorization: Api-Token dt0c01.abc123.abcdefjhij1234567890'
https://mySampleEnv.live.dynatrace.com/api/v2/eventTypes/APPLICATION_SLOWDOWN
{"type": "APPLICATION_SLOWDOWN","displayName": "Application slowdown","severityLevel": "PERFORMANCE","description": "User action duration degradation"}
200