class
Amazonite::CloudWatch::InsightRule
- Amazonite::CloudWatch::InsightRule
- Reference
- Object
Overview
This structure contains the definition for a Contributor Insights rule. For more information about this rule, see Using Constributor Insights to analyze high-cardinality data in the Amazon CloudWatch User Guide.
Included Modules
- JSON::Serializable
Defined in:
cloudwatch/insight_rule.crConstructors
- .new(name : String, state : String, schema : String, definition : String, managed_rule : Bool | Nil = nil, apply_on_transformed_logs : Bool | Nil = nil)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#apply_on_transformed_logs : Bool | Nil
Displays whether the rule is evaluated on the transformed versions of logs, for log groups that have Log transformation enabled.
-
#apply_on_transformed_logs=(apply_on_transformed_logs : Bool | Nil)
Displays whether the rule is evaluated on the transformed versions of logs, for log groups that have Log transformation enabled.
-
#definition : String
The definition of the rule, as a JSON object.
-
#definition=(definition : String)
The definition of the rule, as a JSON object.
-
#hash(hasher)
See
Object#hash(hasher) -
#managed_rule : Bool | Nil
An optional built-in rule that Amazon Web Services manages.
-
#managed_rule=(managed_rule : Bool | Nil)
An optional built-in rule that Amazon Web Services manages.
-
#name : String
The name of the rule.
-
#name=(name : String)
The name of the rule.
-
#schema : String
For rules that you create, this is always
{"Name": "CloudWatchLogRule", "Version": 1}. -
#schema=(schema : String)
For rules that you create, this is always
{"Name": "CloudWatchLogRule", "Version": 1}. -
#state : String
Indicates whether the rule is enabled or disabled.
-
#state=(state : String)
Indicates whether the rule is enabled or disabled.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
Displays whether the rule is evaluated on the transformed versions of logs, for log groups that
have Log
transformation
enabled. If this is false, log events are evaluated before they are transformed.
Displays whether the rule is evaluated on the transformed versions of logs, for log groups that
have Log
transformation
enabled. If this is false, log events are evaluated before they are transformed.
The definition of the rule, as a JSON object. The definition contains the keywords used to define contributors, the value to aggregate on if this rule returns a sum instead of a count, and the filters. For details on the valid syntax, see Contributor Insights Rule Syntax.
The definition of the rule, as a JSON object. The definition contains the keywords used to define contributors, the value to aggregate on if this rule returns a sum instead of a count, and the filters. For details on the valid syntax, see Contributor Insights Rule Syntax.
An optional built-in rule that Amazon Web Services manages.
For rules that you create, this is always {"Name": "CloudWatchLogRule", "Version": 1}. For
managed rules, this is {"Name": "ServiceLogRule", "Version": 1}
For rules that you create, this is always {"Name": "CloudWatchLogRule", "Version": 1}. For
managed rules, this is {"Name": "ServiceLogRule", "Version": 1}