Skip to content

Get Log Anomaly Detector

cloudwatchlogs_get_log_anomaly_detector R Documentation

Retrieves information about the log anomaly detector that you specify

Description

Retrieves information about the log anomaly detector that you specify. The KMS key ARN detected is valid.

Usage

cloudwatchlogs_get_log_anomaly_detector(anomalyDetectorArn)

Arguments

anomalyDetectorArn

[required] The ARN of the anomaly detector to retrieve information about. You can find the ARNs of log anomaly detectors in your account by using the list_log_anomaly_detectors operation.

Value

A list with the following syntax:

list(
  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
)

Request syntax

svc$get_log_anomaly_detector(
  anomalyDetectorArn = "string"
)