LogAlarm
The details about a log alarm.
Contents
- ActionLogLineCount
-
The number of log lines from the most recent scheduled query execution that are included in alarm action notifications. Valid range is 0 through 50. A value of 0 means no log lines are included.
Type: Integer
Required: No
- ActionLogLineRoleArn
-
The Amazon Resource Name (ARN) of the IAM role that CloudWatch assumes to retrieve log events for inclusion in alarm action notifications. Set when
ActionLogLineCountis greater than 0.Type: String
Required: No
- ActionsEnabled
-
Indicates whether actions should be executed during any changes to the alarm state.
Type: Boolean
Required: No
- AlarmActions
-
The actions to execute when this alarm transitions to the
ALARMstate from any other state. Each action is specified as an Amazon Resource Name (ARN).Type: Array of strings
Array Members: Maximum number of 5 items.
Length Constraints: Minimum length of 1. Maximum length of 1024.
Required: No
- AlarmArn
-
The Amazon Resource Name (ARN) of the alarm.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 1600.
Required: No
- AlarmConfigurationUpdatedTimestamp
-
The time stamp of the last update to the alarm configuration.
Type: Timestamp
Required: No
- AlarmDescription
-
The description of the alarm.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 1024.
Required: No
- AlarmName
-
The name of the alarm.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 255.
Required: No
- ComparisonOperator
-
The arithmetic operation to use when comparing the aggregated query result and the threshold. The aggregated query result is used as the first operand.
Type: String
Valid Values:
GreaterThanOrEqualToThreshold | GreaterThanThreshold | LessThanThreshold | LessThanOrEqualToThreshold | LessThanLowerOrGreaterThanUpperThreshold | LessThanLowerThreshold | GreaterThanUpperThresholdRequired: No
- EvaluationState
-
If the value of this field is
EVALUATION_ERROR, it indicates configuration errors in the alarm setup that require review and correction. Refer to theStateReasonfield of the alarm for more details.If the value of this field is
EVALUATION_FAILURE, it indicates temporary CloudWatch issues. We recommend manual monitoring until the issue is resolved.If the value of this field is
PARTIAL_DATA, it indicates that the query returned the maximum 500 contributor groups but more matched. The alarm evaluates the available contributors, but results might be incomplete.Type: String
Valid Values:
PARTIAL_DATA | EVALUATION_FAILURE | EVALUATION_ERRORRequired: No
- InsufficientDataActions
-
The actions to execute when this alarm transitions to the
INSUFFICIENT_DATAstate from any other state. Each action is specified as an Amazon Resource Name (ARN).Type: Array of strings
Array Members: Maximum number of 5 items.
Length Constraints: Minimum length of 1. Maximum length of 1024.
Required: No
- OKActions
-
The actions to execute when this alarm transitions to the
OKstate from any other state. Each action is specified as an Amazon Resource Name (ARN).Type: Array of strings
Array Members: Maximum number of 5 items.
Length Constraints: Minimum length of 1. Maximum length of 1024.
Required: No
- QueryResultsToAlarm
-
The number of query results, out of the most recent
QueryResultsToEvaluateresults, that must breach the threshold to trigger the alarm to transition toALARM(the M in M-of-N evaluation).Type: Integer
Valid Range: Minimum value of 1.
Required: No
- QueryResultsToEvaluate
-
The number of most recent scheduled query results that the alarm evaluates against the threshold (the N in M-of-N evaluation).
Type: Integer
Valid Range: Minimum value of 1.
Required: No
- ScheduledQueryConfiguration
-
The configuration of the underlying CloudWatch Logs scheduled query, including the query string, log groups, schedule, aggregation expression, and the ARN of the managed scheduled query.
Type: ScheduledQueryConfiguration object
Required: No
- StateReason
-
An explanation for the alarm state, in text format.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 1023.
Required: No
- StateReasonData
-
An explanation for the alarm state, in JSON format.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 4000.
Required: No
- StateTransitionedTimestamp
-
The date and time that the alarm's
StateValuemost recently changed.Type: Timestamp
Required: No
- StateUpdatedTimestamp
-
The time stamp of the last update to the value of either the
StateValueorEvaluationStateparameters.Type: Timestamp
Required: No
- StateValue
-
The state value for the alarm.
Type: String
Valid Values:
OK | ALARM | INSUFFICIENT_DATARequired: No
- Threshold
-
The value to compare with the aggregated query result.
Type: Double
Required: No
- TreatMissingData
-
How this alarm handles missing data points. Valid values are
breaching,notBreaching,ignore, andmissing.Type: String
Length Constraints: Minimum length of 1. Maximum length of 255.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: