Extensions 2.0 API - GET list of monitoring configuration events
This API is deprecated.
Lists events linked to the specified monitoring configuration.
The request produces an application/json
payload.
GET | ManagedDynatrace for Government | https://{your-domain}/e/{your-environment-id}/api/v2/extensions/{extensionName}/monitoringConfigurations/{configurationId}/events |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/extensions/{extensionName}/monitoringConfigurations/{configurationId}/events | |
Environment and Cluster ActiveGate (default port 9999) | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/extensions/{extensionName}/monitoringConfigurations/{configurationId}/events |
Authentication
To execute this request, you need an access token with extensionConfigurations.read
scope.
To learn how to obtain and use it, see Tokens and authentication.
Parameters
Parameter | Type | Description | In | Required |
---|---|---|---|---|
extensionName | string | The name of the requested extension 2.0. | path | required |
configurationId | string | The ID of the requested monitoring configuration. | path | required |
from | string | The start of the requested timeframe. You can use one of the following formats:
If not set, the relative timeframe of two hours is used ( | query | optional |
to | string | The end of the requested timeframe. You can use one of the following formats:
If not set, the current timestamp is used. | query | optional |
dt.entity.host | string | Host that uses this monitoring configuration. Example: | query | optional |
dt.active_gate.id | string | Hexadecimal ID of Active Gate that uses this monitoring configuration. Example: | query | optional |
dt.extension.ds | string | Data source that uses this monitoring configuration. Example: | query | optional |
content | string | Content of the event | query | optional |
status | string | Status of the event
| query | optional |
Response
Response codes
Code | Type | Description |
---|---|---|
200 | ExtensionEventsList | Success |
404 | ErrorEnvelope | Failed. The requested resource doesn't exist. |
Response body objects
The ExtensionEventsList
object
Element | Type | Description |
---|---|---|
extensionEvents | ExtensionEventDto[] | A list of extension events. |
The ExtensionEventDto
object
A list of extension events.
Element | Type | Description |
---|---|---|
content | string | Content of the event |
dt.active_gate.id | string | Hexadecimal ID of Active Gate that uses this monitoring configuration. Example: |
dt.entity.host | string | Host that uses this monitoring configuration. Example: |
dt.extension.ds | string | Data source that uses this monitoring configuration. Example: |
severity | string | Severity of the event |
status | string | Status of the event
|
timestamp | string | Timestamp of the event |
Response body JSON model
1{2 "extensionEvents": [3 {4 "content": "string",5 "dt.active_gate.id": "string",6 "dt.entity.host": "string",7 "dt.extension.ds": "string",8 "severity": "string",9 "status": "ERROR",10 "timestamp": "string"11 }12 ]13}