Skip to main content

log_anomaly_detectors_list_only

Lists log_anomaly_detectors in a region or regions, for all properties use log_anomaly_detectors

Overview

Namelog_anomaly_detectors_list_only
TypeResource
DescriptionThe AWS::Logs::LogAnomalyDetector resource specifies a CloudWatch Logs LogAnomalyDetector.
Idaws.logs.log_anomaly_detectors_list_only

Fields

NameDatatypeDescription
account_idstringAccount ID for owner of detector
kms_key_idstringThe Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
detector_namestringName of detector
log_group_arn_listarrayList of Arns for the given log group
evaluation_frequencystringHow often log group is evaluated
filter_patternstring
anomaly_detector_statusstringCurrent status of detector.
anomaly_visibility_timenumber
creation_time_stampnumberWhen detector was created.
last_modified_time_stampnumberWhen detector was lsat modified.
anomaly_detector_arnstringARN of LogAnomalyDetector
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all log_anomaly_detectors in a region.

SELECT
region,
anomaly_detector_arn
FROM aws.logs.log_anomaly_detectors_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the log_anomaly_detectors_list_only resource, see log_anomaly_detectors