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 | 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 |
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
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:
- Timestamp in UTC milliseconds.
- Human-readable format of
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 theT
. Seconds and fractions of a second are optional. - Relative timeframe, back from now. The format is
now-NU/A
, whereN
is the amount of time,U
is the unit of time, andA
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
: years
If 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:
- Timestamp in UTC milliseconds.
- Human-readable format of
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 theT
. Seconds and fractions of a second are optional. - Relative timeframe, back from now. The format is
now-NU/A
, whereN
is the amount of time,U
is the unit of time, andA
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
: years
If 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
Response
Response codes
Response body objects
The ExtensionEventsList
object
The ExtensionEventDto
object
A 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
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"}]}