Skip to content

/AWS1/CL_TRLINSIGHTSELECTOR

A JSON string that contains a list of Insights types that are logged on a trail or event data store.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_insighttype TYPE /AWS1/TRLINSIGHTTYPE /AWS1/TRLINSIGHTTYPE

The type of Insights events to log on a trail or event data store. ApiCallRateInsight and ApiErrorRateInsight are valid Insight types.

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

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

it_eventcategories TYPE /AWS1/CL_TRLSOURCEEVENTCATS_W=>TT_SOURCEEVENTCATEGORIES TT_SOURCEEVENTCATEGORIES

Select the event category on which Insights should be enabled.

  • If EventCategories is not provided, the specified Insights types are enabled on management API calls by default.

  • If EventCategories is provided, the given event categories will overwrite the existing ones. For example, if a trail already has Insights enabled on management events, and then a PutInsightSelectors request is made with only data events specified in EventCategories, Insights on management events will be disabled.


Queryable Attributes

InsightType

The type of Insights events to log on a trail or event data store. ApiCallRateInsight and ApiErrorRateInsight are valid Insight types.

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

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

Accessible with the following methods

Method Description
GET_INSIGHTTYPE() Getter for INSIGHTTYPE, with configurable default
ASK_INSIGHTTYPE() Getter for INSIGHTTYPE w/ exceptions if field has no value
HAS_INSIGHTTYPE() Determine if INSIGHTTYPE has a value

EventCategories

Select the event category on which Insights should be enabled.

  • If EventCategories is not provided, the specified Insights types are enabled on management API calls by default.

  • If EventCategories is provided, the given event categories will overwrite the existing ones. For example, if a trail already has Insights enabled on management events, and then a PutInsightSelectors request is made with only data events specified in EventCategories, Insights on management events will be disabled.

Accessible with the following methods

Method Description
GET_EVENTCATEGORIES() Getter for EVENTCATEGORIES, with configurable default
ASK_EVENTCATEGORIES() Getter for EVENTCATEGORIES w/ exceptions if field has no val
HAS_EVENTCATEGORIES() Determine if EVENTCATEGORIES has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_INSIGHTSELECTORS

TYPES TT_INSIGHTSELECTORS TYPE STANDARD TABLE OF REF TO /AWS1/CL_TRLINSIGHTSELECTOR WITH DEFAULT KEY
.