Skip to content

Get Insight Events

xray_get_insight_events R Documentation

X-Ray reevaluates insights periodically until they're resolved, and records each intermediate state as an event

Description

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.

Usage

xray_get_insight_events(InsightId, MaxResults, NextToken)

Arguments

InsightId

[required] The insight's unique identifier. Use the GetInsightSummaries action to retrieve an InsightId.

MaxResults

Used to retrieve at most the specified value of events.

NextToken

Specify the pagination token returned by a previous request to retrieve the next page of events.

Value

A list with the following syntax:

list(
  InsightEvents = list(
    list(
      Summary = "string",
      EventTime = as.POSIXct(
        "2015-01-01"
      ),
      ClientRequestImpactStatistics = list(
        FaultCount = 123,
        OkCount = 123,
        TotalCount = 123
      ),
      RootCauseServiceRequestImpactStatistics = list(
        FaultCount = 123,
        OkCount = 123,
        TotalCount = 123
      ),
      TopAnomalousServices = list(
        list(
          ServiceId = list(
            Name = "string",
            Names = list(
              "string"
            ),
            AccountId = "string",
            Type = "string"
          )
        )
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$get_insight_events(
  InsightId = "string",
  MaxResults = 123,
  NextToken = "string"
)