AWS Observability FinOps · Zero Admin Keys

CloudWatch Infinite Log Retention & Verbose Ingestion

Cap 'Never Expire' CloudWatch log groups, silence DEBUG log noise, and cut $0.50/GB ingestion waste.

Typical Waste Band
35%–70% of CloudWatch bill
Est. Monthly Recovery
$500–$3,800/mo
Audit Safety Level
Minimal (Safe Retention)

Top 3 Root Causes of CloudWatch Logs Waste

1. 'Never Expire' Default Log GroupsLambda, ECS, and API Gateway auto-create log groups with infinite retention by default.
2. DEBUG Logging Left Enabled in ProdVerbose JSON request dumps cost $0.50/GB to ingest plus compounding storage fees.
3. Unused High-Frequency Custom MetricsPer-pod or high-cardinality custom CloudWatch metrics bill $0.30/metric/month silently.
Read-Only AWS CLI: Find 'Never Expire' Log Groups & Largest Stored Logs + 4-Step Safe Fix
# 1. Find CloudWatch Log Groups missing a retention policy (read-only)
aws logs describe-log-groups \
  --query "logGroups[?!retentionInDays].[logGroupName,storedBytes]" \
  --output table

# 2. Rank top 15 largest CloudWatch Log Groups by storedBytes (read-only)
aws logs describe-log-groups \
  --query "reverse(sort_by(logGroups, &storedBytes))[:15].[logGroupName,retentionInDays,storedBytes]" \
  --output table
  1. Set retention policies (14–30 days for dev/staging, 30–90 days for prod) across all log groups in IaC.
  2. Switch high-volume non-prod or verbose debug log groups to Infrequent Access (IA) log class (50% cheaper ingest).
  3. Strip health-check 200 OK lines and DEBUG payloads before emitting to stdout/CloudWatch.
  4. Export compliance logs >90 days to compressed S3 Parquet/Gzip instead of hot CloudWatch storage.

Flat-Fee FinOps Delivery (0% Savings Cut)

48h Billing Waste Teardown

$299 one-time

Line-item AWS & SaaS waste breakdown from your redacted read-only JSON export.

Order $299 Teardown

CloudWatch Logs FinOps FAQs

Why do CloudWatch Log Groups default to 'Never Expire'?

When Lambda or ECS auto-creates a log group on first invocation, AWS sets no expiration policy unless explicitly declared in Terraform or CloudFormation.

Does lowering CloudWatch ingestion save more than setting retention?

Yes. Ingestion is $0.50/GB (vs $0.03/GB/mo storage), so silencing noisy DEBUG/health-check logs cuts monthly spend immediately while retention stops long-term creep.

How does CloudTrim find our costliest log groups?

We rank storedBytes and IncomingBytes via read-only AWS APIs and return copy-paste Terraform retention blocks inside 48–72 hours.

Related FinOps Playbooks