Skip to main content

log_anomaly_detector

Gets an individual log_anomaly_detector resource

Overview

Namelog_anomaly_detector
TypeResource
Descriptionlog_anomaly_detector
Idawscc.logs.log_anomaly_detector

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

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
account_id,
kms_key_id,
detector_name,
log_group_arn_list,
evaluation_frequency,
filter_pattern,
anomaly_detector_status,
anomaly_visibility_time,
creation_time_stamp,
last_modified_time_stamp,
anomaly_detector_arn
FROM awscc.logs.log_anomaly_detector
WHERE data__Identifier = '<AnomalyDetectorArn>';

Permissions

To operate on the log_anomaly_detector resource, the following permissions are required:

Read

logs:GetLogAnomalyDetector

Update

logs:UpdateLogAnomalyDetector

Delete

logs:DeleteLogAnomalyDetector