Skip to content

/AWS1/CL_CWTGETINSIGHTRLRPTOUT

GetInsightRuleReportOutput

CONSTRUCTOR

IMPORTING

Optional arguments:

it_keylabels TYPE /AWS1/CL_CWTINSIGHTRLCONTRIB00=>TT_INSIGHTRULECONTRIBKEYLABELS TT_INSIGHTRULECONTRIBKEYLABELS

An array of the strings used as the keys for this rule. The keys are the dimensions used to classify contributors. If the rule contains more than one key, then each unique combination of values for the keys is counted as a unique contributor.

iv_aggregationstatistic TYPE /AWS1/CWTINSIGHTRLAGGSTATISTIC /AWS1/CWTINSIGHTRLAGGSTATISTIC

Specifies whether this rule aggregates contributor data by COUNT or SUM.

iv_aggregatevalue TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

The sum of the values from all individual contributors that match the rule.

iv_approximateuniquecount TYPE /AWS1/CWTINSIGHTRLUNBOUNDLONG /AWS1/CWTINSIGHTRLUNBOUNDLONG

An approximate count of the unique contributors found by this rule in this time period.

it_contributors TYPE /AWS1/CL_CWTINSIGHTRULECONTRIB=>TT_INSIGHTRULECONTRIBUTORS TT_INSIGHTRULECONTRIBUTORS

An array of the unique contributors found by this rule in this time period. If the rule contains multiple keys, each combination of values for the keys counts as a unique contributor.

it_metricdatapoints TYPE /AWS1/CL_CWTINSIGHTRLMETRICD00=>TT_INSIGHTRULEMETRICDATAPOINTS TT_INSIGHTRULEMETRICDATAPOINTS

A time series of metric data points that matches the time period in the rule request.


Queryable Attributes

KeyLabels

An array of the strings used as the keys for this rule. The keys are the dimensions used to classify contributors. If the rule contains more than one key, then each unique combination of values for the keys is counted as a unique contributor.

Accessible with the following methods

Method Description
GET_KEYLABELS() Getter for KEYLABELS, with configurable default
ASK_KEYLABELS() Getter for KEYLABELS w/ exceptions if field has no value
HAS_KEYLABELS() Determine if KEYLABELS has a value

AggregationStatistic

Specifies whether this rule aggregates contributor data by COUNT or SUM.

Accessible with the following methods

Method Description
GET_AGGREGATIONSTATISTIC() Getter for AGGREGATIONSTATISTIC, with configurable default
ASK_AGGREGATIONSTATISTIC() Getter for AGGREGATIONSTATISTIC w/ exceptions if field has n
HAS_AGGREGATIONSTATISTIC() Determine if AGGREGATIONSTATISTIC has a value

AggregateValue

The sum of the values from all individual contributors that match the rule.

Accessible with the following methods

Method Description
GET_AGGREGATEVALUE() Getter for AGGREGATEVALUE, with configurable default
ASK_AGGREGATEVALUE() Getter for AGGREGATEVALUE w/ exceptions if field has no valu
STR_AGGREGATEVALUE() String format for AGGREGATEVALUE, with configurable default
HAS_AGGREGATEVALUE() Determine if AGGREGATEVALUE has a value

ApproximateUniqueCount

An approximate count of the unique contributors found by this rule in this time period.

Accessible with the following methods

Method Description
GET_APPROXIMATEUNIQUECOUNT() Getter for APPROXIMATEUNIQUECOUNT, with configurable default
ASK_APPROXIMATEUNIQUECOUNT() Getter for APPROXIMATEUNIQUECOUNT w/ exceptions if field has
HAS_APPROXIMATEUNIQUECOUNT() Determine if APPROXIMATEUNIQUECOUNT has a value

Contributors

An array of the unique contributors found by this rule in this time period. If the rule contains multiple keys, each combination of values for the keys counts as a unique contributor.

Accessible with the following methods

Method Description
GET_CONTRIBUTORS() Getter for CONTRIBUTORS, with configurable default
ASK_CONTRIBUTORS() Getter for CONTRIBUTORS w/ exceptions if field has no value
HAS_CONTRIBUTORS() Determine if CONTRIBUTORS has a value

MetricDatapoints

A time series of metric data points that matches the time period in the rule request.

Accessible with the following methods

Method Description
GET_METRICDATAPOINTS() Getter for METRICDATAPOINTS, with configurable default
ASK_METRICDATAPOINTS() Getter for METRICDATAPOINTS w/ exceptions if field has no va
HAS_METRICDATAPOINTS() Determine if METRICDATAPOINTS has a value