Set log retention before you set anything else
A log group with no retention setting keeps every line forever. On CloudWatch that is the default, and it is one of the quietest lines on a bill
A default that works
Application logs: 14 days hot
Audit and security logs: 30 to 90 days hot, then archive to object storage
Debug logs: off in production, on only while investigating
Everything older: cheap storage, not searchable storage
Why the split matters
Ingestion is usually the expensive part, not storage. A service that logs every request body at debug level pays for those bytes the moment they arrive, whether anyone reads them or not
Retention only trims the storage line. To cut the bigger line, you have to change what gets written
Three things that inflate log bills
Debug logging left on after an incident
Health check requests logged on every hit
Logs shipped to a second tool as well, so you pay twice for the same bytes
A useful test
Pick your biggest log group and ask who read it last month. If the honest answer is nobody, the retention is too long and the level is probably too verbose
Logs you need for compliance are a different category. They should go to cheap object storage with a lifecycle rule, not sit in a search index at full price
The goal is not fewer logs. The goal is logs that cost what they are worth
Most incidents are solved with the last few days of data, not the last few years
What is the longest retention in your account, and what was the last time someone searched that far back?


