Skip to main content

insight_events

Creates, updates, deletes, gets or lists an insight_events resource.

Overview

Nameinsight_events
TypeResource
Idaws.xray.insight_events

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
insight_eventsarrayA detailed description of the event. This includes the time of the event, client and root cause impact statistics, and the top anomalous service at the time of the event.
next_tokenstringUse this token to retrieve the next page of insight events.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_insight_eventsselectregionX-Ray reevaluates insights periodically until they're resolved, and records each intermediate state as an event. You can review an insight's events in the Impact Timeline on the Inspect page in the X-Ray console.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

X-Ray reevaluates insights periodically until they're resolved, and records each intermediate state as an event. You can review an insight's events in the Impact Timeline on the Inspect page in the X-Ray console.

SELECT
insight_events,
next_token
FROM aws.xray.insight_events
WHERE region = '{{ region }}' -- required
;