• Home
  • Dynatrace API
  • Environment
  • Extensions 2.0
  • Environment configurations
  • GET list of events

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.

GETManagedDynatrace for Governmenthttps://{your-domain}/e/{your-environment-id}/api/v2/extensions/{extensionName}/environmentConfiguration/events
SaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/extensions/{extensionName}/environmentConfiguration/events
Environment ActiveGatehttps://{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

ParameterTypeDescriptionInRequired
extensionNamestring

The name of the requested extension 2.0.

pathrequired
fromstring

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 the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is 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: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the relative timeframe of two hours is used (now-2h).

queryoptional
tostring

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 the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is 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: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the current timestamp is used.

queryoptional
contentstring

Content of the event

queryoptional
statusstring

Status of the event

The element can hold these values
  • ERROR
  • INFO
  • NONE
  • WARN
queryoptional

Response

Response codes

CodeTypeDescription
200ExtensionEventsList

List of the latest extension environment configuration events

404ErrorEnvelope

Failed. The requested resource doesn't exist.

Response body objects

The ExtensionEventsList object

ElementTypeDescription
extensionEventsExtensionEventDto[]

A list of extension events.

The ExtensionEventDto object

A list of extension events.

ElementTypeDescription
timestampstring

Timestamp of the event

severitystring

Severity of the event

contentstring

Content of the event

dt.entity.hoststring

Host that uses this monitoring configuration.

Example: HOST-ABCDEF0123456789

dt.active_gate.idstring

Hexadecimal ID of Active Gate that uses this monitoring configuration.

Example: 0x1a2b3c4d

dt.extension.dsstring

Data source that uses this monitoring configuration.

Example: snmp

statusstring

Status of the event

The element can hold these values
  • ERROR
  • INFO
  • NONE
  • WARN

Response body JSON model

json
{ "extensionEvents": [ { "timestamp": "string", "severity": "string", "content": "string", "dt.entity.host": "string", "dt.active_gate.id": "string", "dt.extension.ds": "string", "status": "ERROR" } ] }
Related topics
  • Extensions

    Learn about the extensions framework offered by Dynatrace.