CmdID / aws / aws cloudtrail
aws cloudtrail list-insights-metric-data
Returns Insights metrics data for trails that have enabled Insights. AWS CLI reference
11 options Its page in the AWS CLI reference
Options
--data-typeType of data points to return.--end-timeSpecifies, in UTC, the end time for time-series data.--error-codeConditionally required if the InsightType parameter is set to ApiErrorRateInsight.--event-nameThe name of the event, typically the Amazon Web Services API on which unusual levels of activity were recorded.--event-sourceThe Amazon Web Services service to which the request was made, such as iam.amazonaws.com or s3.amazonaws.com.--insight-typeThe type of CloudTrail Insights event, which is either ApiCallRateInsight or ApiErrorRateInsight.--max-resultsThe maximum number of data points to return.--next-tokenReturned if all datapoints can't be returned in a single call.--periodGranularity of data to retrieve, in seconds.--start-timeSpecifies, in UTC, the start time for time-series data.--trail-nameThe Amazon Resource Name(ARN) or name of the trail for which you want to retrieve Insights metrics data.