Skill 3.3.7

Use Amazon CloudWatch Logs to log application data (with a focus on configuration and automation)

Key Concepts

Configure log groups with retention, KMS encryption and log classes; send logs from Lambda (log level and JSON format settings), Glue (continuous logging), EMR, containers and the CloudWatch agent.

Automate with metric filters (turn log patterns into metrics and alarms), subscription filters (stream logs to Lambda, Firehose or OpenSearch) and export to S3 via IaC.