Skip to content

List log Anomaly Detectors

cloudwatchlogs_list_log_anomaly_detectors R Documentation

Retrieves a list of the log anomaly detectors in the account

Description

Retrieves a list of the log anomaly detectors in the account.

Usage

cloudwatchlogs_list_log_anomaly_detectors(filterLogGroupArn, limit,
  nextToken)

Arguments

filterLogGroupArn

Use this to optionally filter the results to only include anomaly detectors that are associated with the specified log group.

limit

The maximum number of items to return. If you don't specify a value, the default maximum value of 50 items is used.

nextToken

Value

A list with the following syntax:

list(
  anomalyDetectors = list(
    list(
      anomalyDetectorArn = "string",
      detectorName = "string",
      logGroupArnList = list(
        "string"
      ),
      evaluationFrequency = "ONE_MIN"|"FIVE_MIN"|"TEN_MIN"|"FIFTEEN_MIN"|"THIRTY_MIN"|"ONE_HOUR",
      filterPattern = "string",
      anomalyDetectorStatus = "INITIALIZING"|"TRAINING"|"ANALYZING"|"FAILED"|"DELETED"|"PAUSED",
      kmsKeyId = "string",
      creationTimeStamp = 123,
      lastModifiedTimeStamp = 123,
      anomalyVisibilityTime = 123
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_log_anomaly_detectors(
  filterLogGroupArn = "string",
  limit = 123,
  nextToken = "string"
)