Extensions 2.0 API - GET list of environment configuration events
This API is deprecated.
Lists events linked to the specified environment configuration.
The request produces an application/json
payload.
GET | ManagedDynatrace for Government | https://{your-domain}/e/{your-environment-id}/api/v2/extensions/{extensionName}/environmentConfiguration/events |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/extensions/{extensionName}/environmentConfiguration/events | |
Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v2/extensions/{extensionName}/environmentConfiguration/events |
Authentication
To execute this request, you need an access token with one of the following scopes:
extensionEnvironment.read
extensions.read
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 |
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 |
content | string | Content of the event | query | optional |
status | string | Status of the event | query | optional |
Response
Response codes
Code | Type | Description |
---|---|---|
200 | Extension | List of the latest extension environment configuration events |
404 | ErrorEnvelope | Failed. The requested resource doesn't exist. |
Response body objects
The ExtensionEventsList
object
Element | Type | Description |
---|---|---|
extensionEvents | Extension | 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
{
"extensionEvents": [
{
"content": "string",
"dt.active_gate.id": "string",
"dt.entity.host": "string",
"dt.extension.ds": "string",
"severity": "string",
"status": "ERROR",
"timestamp": "string"
}
]
}