AWSLogsUpdateLogAnomalyDetectorRequest

Objective-C

@interface AWSLogsUpdateLogAnomalyDetectorRequest

Swift

class AWSLogsUpdateLogAnomalyDetectorRequest
  • The ARN of the anomaly detector that you want to update.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable anomalyDetectorArn;

    Swift

    var anomalyDetectorArn: String? { get set }
  • The number of days to use as the life cycle of anomalies. After this time, anomalies are automatically baselined and the anomaly detector model will treat new occurrences of similar event as normal. Therefore, if you do not correct the cause of an anomaly during this time, it will be considered normal going forward and will not be detected.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable anomalyVisibilityTime;

    Swift

    var anomalyVisibilityTime: NSNumber? { get set }
  • Use this parameter to pause or restart the anomaly detector.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable enabled;

    Swift

    var enabled: NSNumber? { get set }
  • Specifies how often the anomaly detector runs and look for anomalies. Set this value according to the frequency that the log group receives new logs. For example, if the log group receives new log events every 10 minutes, then setting evaluationFrequency to FIFTEEN_MIN might be appropriate.

    Declaration

    Objective-C

    @property (nonatomic) AWSLogsEvaluationFrequency evaluationFrequency;

    Swift

    var evaluationFrequency: AWSLogsEvaluationFrequency { get set }
  • A symbolic description of how CloudWatch Logs should interpret the data in each log event. For example, a log event can contain timestamps, IP addresses, strings, and so on. You use the filter pattern to specify what to look for in the log event message.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable filterPattern;

    Swift

    var filterPattern: String? { get set }