[ aws . xray ]

get-insight

Description

Retrieves the summary information of an insight. This includes impact to clients and root cause services, the top anomalous services, the category, the state of the insight, and the start and end time of the insight.

See also: AWS API Documentation

See ‘aws help’ for descriptions of global parameters.

Synopsis

  get-insight
--insight-id <value>
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]

Options

--insight-id (string)

The insight’s unique identifier. Use the GetInsightSummaries action to retrieve an InsightId.

--cli-input-json | --cli-input-yaml (string) Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. Similarly, if provided yaml-input it will print a sample input YAML that can be used with --cli-input-yaml. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See ‘aws help’ for descriptions of global parameters.

Output

Insight -> (structure)

The summary information of an insight.

InsightId -> (string)

The insights unique identifier.

GroupARN -> (string)

The Amazon Resource Name (ARN) of the group that the insight belongs to.

GroupName -> (string)

The name of the group that the insight belongs to.

RootCauseServiceId -> (structure)

Name -> (string)

Names -> (list)

(string)

AccountId -> (string)

Type -> (string)

Categories -> (list)

The categories that label and describe the type of insight.

(string)

State -> (string)

The current state of the insight.

StartTime -> (timestamp)

The time, in Unix seconds, at which the insight began.

EndTime -> (timestamp)

The time, in Unix seconds, at which the insight ended.

Summary -> (string)

A brief description of the insight.

ClientRequestImpactStatistics -> (structure)

The impact statistics of the client side service. This includes the number of requests to the client service and whether the requests were faults or okay.

FaultCount -> (long)

The number of requests that have resulted in a fault,

OkCount -> (long)

The number of successful requests.

TotalCount -> (long)

The total number of requests to the service.

RootCauseServiceRequestImpactStatistics -> (structure)

The impact statistics of the root cause service. This includes the number of requests to the client service and whether the requests were faults or okay.

FaultCount -> (long)

The number of requests that have resulted in a fault,

OkCount -> (long)

The number of successful requests.

TotalCount -> (long)

The total number of requests to the service.

TopAnomalousServices -> (list)

The service within the insight that is most impacted by the incident.

(structure)

The service within the service graph that has anomalously high fault rates.

ServiceId -> (structure)

Name -> (string)

Names -> (list)

(string)

AccountId -> (string)

Type -> (string)