log retention
How long a log group keeps its entries before deleting them.
In more detail
CloudWatch Logs keeps logs forever by default, which quietly grows the bill and holds sensitive data longer than needed. Set retention from recovery and compliance needs, then expire or archive deliberately.
Related terms
- log — A time-stamped record of an individual event in a system, such as one request being handled; structured logs record it as named fields rather than free text.
- Amazon CloudWatch — The AWS monitoring service that collects metrics and logs from AWS resources and applications and raises alarms on them.
- retention — How long data such as backups, logs or snapshots is kept before it is deleted.
Taught in
- Observability with CloudWatch — Cloud Infrastructure & Hyperscaler Architecture
- How Bills Actually Get Large — Cloud Infrastructure & Hyperscaler Architecture