AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
This structure represents one anomaly that has been found by a logs anomaly detector.
For more information about patterns and anomalies, see CreateLogAnomalyDetector.
Namespace: Amazon.CloudWatchLogs.Model
Assembly: AWSSDK.CloudWatchLogs.dll
Version: 3.x.y.z
public class Anomaly
The Anomaly type exposes the following members
Name | Description | |
---|---|---|
Anomaly() |
Name | Type | Description | |
---|---|---|---|
Active | System.Boolean |
Gets and sets the property Active. Specifies whether this anomaly is still ongoing. |
|
AnomalyDetectorArn | System.String |
Gets and sets the property AnomalyDetectorArn. The ARN of the anomaly detector that identified this anomaly. |
|
AnomalyId | System.String |
Gets and sets the property AnomalyId. The unique ID that CloudWatch Logs assigned to this anomaly. |
|
Description | System.String |
Gets and sets the property Description. A human-readable description of the anomaly. This description is generated by CloudWatch Logs. |
|
FirstSeen | System.Int64 |
Gets and sets the property FirstSeen.
The date and time when the anomaly detector first saw this anomaly. It is specified
as epoch time, which is the number of seconds since |
|
Histogram | System.Collections.Generic.Dictionary<System.String, System.Int64> |
Gets and sets the property Histogram.
A map showing times when the anomaly detector ran, and the number of occurrences of
this anomaly that were detected at each of those runs. The times are specified in
epoch time, which is the number of seconds since |
|
IsPatternLevelSuppression | System.Boolean |
Gets and sets the property IsPatternLevelSuppression.
If this anomaly is suppressed, this field is |
|
LastSeen | System.Int64 |
Gets and sets the property LastSeen.
The date and time when the anomaly detector most recently saw this anomaly. It is
specified as epoch time, which is the number of seconds since |
|
LogGroupArnList | System.Collections.Generic.List<System.String> |
Gets and sets the property LogGroupArnList. An array of ARNS of the log groups that contained log events considered to be part of this anomaly. |
|
LogSamples | System.Collections.Generic.List<Amazon.CloudWatchLogs.Model.LogEvent> |
Gets and sets the property LogSamples. An array of sample log event messages that are considered to be part of this anomaly. |
|
PatternId | System.String |
Gets and sets the property PatternId. The ID of the pattern used to help identify this anomaly. |
|
PatternRegex | System.String |
Gets and sets the property PatternRegex. The pattern used to help identify this anomaly, in regular expression format. |
|
PatternString | System.String |
Gets and sets the property PatternString. The pattern used to help identify this anomaly, in string format. |
|
PatternTokens | System.Collections.Generic.List<Amazon.CloudWatchLogs.Model.PatternToken> |
Gets and sets the property PatternTokens. An array of structures where each structure contains information about one token that makes up the pattern. |
|
Priority | System.String |
Gets and sets the property Priority.
The priority level of this anomaly, as determined by CloudWatch Logs. Priority is
computed based on log severity labels such as |
|
State | Amazon.CloudWatchLogs.State |
Gets and sets the property State.
Indicates the current state of this anomaly. If it is still being treated as an anomaly,
the value is |
|
Suppressed | System.Boolean |
Gets and sets the property Suppressed. Indicates whether this anomaly is currently suppressed. To suppress an anomaly, use UpdateAnomaly. |
|
SuppressedDate | System.Int64 |
Gets and sets the property SuppressedDate. If the anomaly is suppressed, this indicates when it was suppressed. |
|
SuppressedUntil | System.Int64 |
Gets and sets the property SuppressedUntil.
If the anomaly is suppressed, this indicates when the suppression will end. If this
value is |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5