Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data LogAnomalyClass = LogAnomalyClass' {}
- newLogAnomalyClass :: LogAnomalyClass
- logAnomalyClass_explanation :: Lens' LogAnomalyClass (Maybe Text)
- logAnomalyClass_logAnomalyToken :: Lens' LogAnomalyClass (Maybe Text)
- logAnomalyClass_logAnomalyType :: Lens' LogAnomalyClass (Maybe LogAnomalyType)
- logAnomalyClass_logEventId :: Lens' LogAnomalyClass (Maybe Text)
- logAnomalyClass_logEventTimestamp :: Lens' LogAnomalyClass (Maybe UTCTime)
- logAnomalyClass_logStreamName :: Lens' LogAnomalyClass (Maybe Text)
- logAnomalyClass_numberOfLogLinesOccurrences :: Lens' LogAnomalyClass (Maybe Int)
Documentation
data LogAnomalyClass Source #
Information about an anomalous log event found within a log group.
See: newLogAnomalyClass
smart constructor.
LogAnomalyClass' | |
|
Instances
newLogAnomalyClass :: LogAnomalyClass Source #
Create a value of LogAnomalyClass
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:explanation:LogAnomalyClass'
, logAnomalyClass_explanation
- The explanation for why the log event is considered an anomaly.
$sel:logAnomalyToken:LogAnomalyClass'
, logAnomalyClass_logAnomalyToken
- The token where the anomaly was detected. This may refer to an exception
or another location, or it may be blank for log anomalies such as format
anomalies.
$sel:logAnomalyType:LogAnomalyClass'
, logAnomalyClass_logAnomalyType
- The type of log anomaly that has been detected.
$sel:logEventId:LogAnomalyClass'
, logAnomalyClass_logEventId
- The ID of the log event.
$sel:logEventTimestamp:LogAnomalyClass'
, logAnomalyClass_logEventTimestamp
- The time of the first occurrence of the anomalous log event.
$sel:logStreamName:LogAnomalyClass'
, logAnomalyClass_logStreamName
- The name of the Amazon CloudWatch log stream that the anomalous log
event belongs to. A log stream is a sequence of log events that share
the same source.
$sel:numberOfLogLinesOccurrences:LogAnomalyClass'
, logAnomalyClass_numberOfLogLinesOccurrences
- The number of log lines where this anomalous log event occurs.
logAnomalyClass_explanation :: Lens' LogAnomalyClass (Maybe Text) Source #
The explanation for why the log event is considered an anomaly.
logAnomalyClass_logAnomalyToken :: Lens' LogAnomalyClass (Maybe Text) Source #
The token where the anomaly was detected. This may refer to an exception or another location, or it may be blank for log anomalies such as format anomalies.
logAnomalyClass_logAnomalyType :: Lens' LogAnomalyClass (Maybe LogAnomalyType) Source #
The type of log anomaly that has been detected.
logAnomalyClass_logEventId :: Lens' LogAnomalyClass (Maybe Text) Source #
The ID of the log event.
logAnomalyClass_logEventTimestamp :: Lens' LogAnomalyClass (Maybe UTCTime) Source #
The time of the first occurrence of the anomalous log event.
logAnomalyClass_logStreamName :: Lens' LogAnomalyClass (Maybe Text) Source #
The name of the Amazon CloudWatch log stream that the anomalous log event belongs to. A log stream is a sequence of log events that share the same source.
logAnomalyClass_numberOfLogLinesOccurrences :: Lens' LogAnomalyClass (Maybe Int) Source #
The number of log lines where this anomalous log event occurs.