insight_events
Creates, updates, deletes, gets or lists an insight_events resource.
Overview
| Name | insight_events |
| Type | Resource |
| Id | aws.xray.insight_events |
Fields
The following fields are returned by SELECT queries:
- get_insight_events
| Name | Datatype | Description |
|---|---|---|
insight_events | array | A 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_token | string | Use this token to retrieve the next page of insight events. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_insight_events | select | region | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_insight_events
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
;