This API is deprecated.
Lists events linked to the specified monitoring configuration.
The request produces an application/json
payload.
GET | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/extensions/{extensionName}/monitoringConfigurations/{configurationId}/events |
Environment ActiveGateCluster ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/extensions/{extensionName}/monitoringConfigurations/{configurationId}/events |
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.
The name of the requested extension 2.0.
The ID of the requested monitoring configuration.
The start of the requested timeframe.
You can use one of the following formats:
2021-01-25T05:57:01.123+01:00
. If no time zone is specified, UTC is used. You can use a space character instead of the T
. Seconds and fractions of a second are optional.now-NU/A
, where N
is the amount of time, U
is the unit of time, and A
is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w
is one year back, aligned by a week.
You can also specify relative timeframe without an alignment: now-NU
.
Supported time units for the relative timeframe are:
m
: minutesh
: hoursd
: daysw
: weeksM
: monthsy
: yearsIf not set, the relative timeframe of two hours is used (now-2h
).
The end of the requested timeframe.
You can use one of the following formats:
2021-01-25T05:57:01.123+01:00
. If no time zone is specified, UTC is used. You can use a space character instead of the T
. Seconds and fractions of a second are optional.now-NU/A
, where N
is the amount of time, U
is the unit of time, and A
is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w
is one year back, aligned by a week.
You can also specify relative timeframe without an alignment: now-NU
.
Supported time units for the relative timeframe are:
m
: minutesh
: hoursd
: daysw
: weeksM
: monthsy
: yearsIf not set, the current timestamp is used.
Host that uses this monitoring configuration.
Example: HOST-ABCDEF0123456789
Hexadecimal ID of Active Gate that uses this monitoring configuration.
Example: 0x1a2b3c4d
Data source that uses this monitoring configuration.
Example: snmp
Content of the event
Status of the event
ERROR
INFO
NONE
WARN
ExtensionEventsList
objectExtensionEventDto
objectA list of extension events.
Content of the event
Hexadecimal ID of Active Gate that uses this monitoring configuration.
Example: 0x1a2b3c4d
Host that uses this monitoring configuration.
Example: HOST-ABCDEF0123456789
Data source that uses this monitoring configuration.
Example: snmp
Severity of the event
Status of the event
ERROR
INFO
NONE
WARN
Timestamp of the event
{"extensionEvents": [{"content": "string","dt.active_gate.id": "string","dt.entity.host": "string","dt.extension.ds": "string","severity": "string","status": "ERROR","timestamp": "string"}]}