amazonka-devops-guru-2.0: Amazon DevOps Guru SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DevOpsGuru.Types.LogAnomalyClass

Description

 
Synopsis

Documentation

data LogAnomalyClass Source #

Information about an anomalous log event found within a log group.

See: newLogAnomalyClass smart constructor.

Constructors

LogAnomalyClass' 

Fields

Instances

Instances details
FromJSON LogAnomalyClass Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.LogAnomalyClass

Generic LogAnomalyClass Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.LogAnomalyClass

Associated Types

type Rep LogAnomalyClass :: Type -> Type #

Read LogAnomalyClass Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.LogAnomalyClass

Show LogAnomalyClass Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.LogAnomalyClass

NFData LogAnomalyClass Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.LogAnomalyClass

Methods

rnf :: LogAnomalyClass -> () #

Eq LogAnomalyClass Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.LogAnomalyClass

Hashable LogAnomalyClass Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.LogAnomalyClass

type Rep LogAnomalyClass Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.LogAnomalyClass

type Rep LogAnomalyClass = D1 ('MetaData "LogAnomalyClass" "Amazonka.DevOpsGuru.Types.LogAnomalyClass" "amazonka-devops-guru-2.0-C03FLSgo73f1Pu5ftIREHS" 'False) (C1 ('MetaCons "LogAnomalyClass'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "explanation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "logAnomalyToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "logAnomalyType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LogAnomalyType)))) :*: ((S1 ('MetaSel ('Just "logEventId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "logEventTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "logStreamName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "numberOfLogLinesOccurrences") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))))

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_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.