Learn R Programming

paws.management (version 0.1.6)

cloudwatch_put_insight_rule: Creates a Contributor Insights rule

Description

Creates a Contributor Insights rule. Rules evaluate log events in a CloudWatch Logs log group, enabling you to find contributor data for the log events in that log group. For more information, see Using Contributor Insights to Analyze High-Cardinality Data.

Usage

cloudwatch_put_insight_rule(RuleName, RuleState, RuleDefinition)

Arguments

RuleName

[required] A unique name for the rule.

RuleState

The state of the rule. Valid values are ENABLED and DISABLED.

RuleDefinition

[required] The definition of the rule, as a JSON object. For details on the valid syntax, see Contributor Insights Rule Syntax.

Request syntax

svc$put_insight_rule(
  RuleName = "string",
  RuleState = "string",
  RuleDefinition = "string"
)

Details

If you create a rule, delete it, and then re-create it with the same name, historical data from the first time the rule was created may or may not be available.