cloudwatchlogs_update_log_anomaly_detector: Updates an existing log anomaly detector

View source: R/cloudwatchlogs_operations.R

cloudwatchlogs_update_log_anomaly_detectorR Documentation

Updates an existing log anomaly detector

Description

Updates an existing log anomaly detector.

See https://www.paws-r-sdk.com/docs/cloudwatchlogs_update_log_anomaly_detector/ for full documentation.

Usage

cloudwatchlogs_update_log_anomaly_detector(
  anomalyDetectorArn,
  evaluationFrequency = NULL,
  filterPattern = NULL,
  anomalyVisibilityTime = NULL,
  enabled
)

Arguments

anomalyDetectorArn

[required] The ARN of the anomaly detector that you want to update.

evaluationFrequency

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.

filterPattern
anomalyVisibilityTime

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.

enabled

[required] Use this parameter to pause or restart the anomaly detector.


paws.management documentation built on Sept. 12, 2024, 6:19 a.m.