cloudtrail_put_insight_selectors: Lets you enable Insights event logging by specifying the...

View source: R/cloudtrail_operations.R

cloudtrail_put_insight_selectorsR Documentation

Lets you enable Insights event logging by specifying the Insights selectors that you want to enable on an existing trail

Description

Lets you enable Insights event logging by specifying the Insights selectors that you want to enable on an existing trail. You also use put_insight_selectors to turn off Insights event logging, by passing an empty list of insight types. The valid Insights event types in this release are ApiErrorRateInsight and ApiCallRateInsight.

See https://www.paws-r-sdk.com/docs/cloudtrail_put_insight_selectors/ for full documentation.

Usage

cloudtrail_put_insight_selectors(TrailName, InsightSelectors)

Arguments

TrailName

[required] The name of the CloudTrail trail for which you want to change or add Insights selectors.

InsightSelectors

[required] A JSON string that contains the insight types you want to log on a trail. ApiCallRateInsight and ApiErrorRateInsight are valid Insight types.

The ApiCallRateInsight Insights type analyzes write-only management API calls that are aggregated per minute against a baseline API call volume.

The ApiErrorRateInsight Insights type analyzes management API calls that result in error codes. The error is shown if the API call is unsuccessful.


paws.management documentation built on Sept. 12, 2023, 1:06 a.m.