log_anomaly_detector
Gets an individual log_anomaly_detector
resource
Overview
Name | log_anomaly_detector |
Type | Resource |
Description | log_anomaly_detector |
Id | awscc.logs.log_anomaly_detector |
Fields
Name | Datatype | Description |
---|---|---|
account_id | string | Account ID for owner of detector |
kms_key_id | string | The Amazon Resource Name (ARN) of the CMK to use when encrypting log data. |
detector_name | string | Name of detector |
log_group_arn_list | array | List of Arns for the given log group |
evaluation_frequency | string | How often log group is evaluated |
filter_pattern | string | |
anomaly_detector_status | string | Current status of detector. |
anomaly_visibility_time | number | |
creation_time_stamp | number | When detector was created. |
last_modified_time_stamp | number | When detector was lsat modified. |
anomaly_detector_arn | string | ARN of LogAnomalyDetector |
region | string | AWS 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