log_groups
Represents a log group.
Overview
Name | log_groups |
Type | Resource |
Description | Represents a log group. |
Id | aws.cloudwatch.log_groups |
Fields
Name | Datatype | Description |
---|---|---|
log_group_name | string | The name of the log group. |
creation_time | integer | The creation time of the log group, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. |
retention_in_days | integer | The number of days to retain the log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1096, 1827, 2192, 2557, 2922, 3288, and 3653. To set a log group so that its log events do not expire, use DeleteRetentionPolicy. |
metric_filter_count | integer | The number of metric filters. |
arn | string | The Amazon Resource Name (ARN) of the log group. |
stored_bytes | integer | The number of bytes stored. |
kms_key_id | string | The Amazon Resource Name (ARN) of the KMS key to use when encrypting log data. |
data_protection_status | string | Displays whether this log group has a protection policy, or whether it had one in the past. For more information, see PutDataProtectionPolicy. |
inherited_properties | array | Displays all the properties that this log group has inherited from account-level settings. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
DescribeLogGroups | SELECT | region |
CreateLogGroup | INSERT | data__logGroupName, region |
DeleteLogGroup | DELETE | data__logGroupName, region |