Free tool
What do your CloudWatch logs cost?
Enter the GB each log group ingests a day, or paste your describe-log-groups output. See ingestion against storage, what a shorter retention, fewer debug lines or the Infrequent Access class would save, and get the commands to set the new retention.
- Prices come from AWS's own price list, with the date we checked them.
- Every result shows its formula and inputs, so you can check the math.
- Everything is calculated in your browser. Nothing you enter is sent anywhere.
Loading prices…
Results
Your CloudWatch Logs bill, a month
Now
n/a
After the changes
n/a
Saved a month
n/a
Step by step
Each step adds one change to the one before, so the difference is what that change is worth.
| Step | Ingestion | Storage | Total a month | vs. now |
|---|
By log group
| Log group | Ingestion now | Storage now | Now | After | Saved |
|---|
The math
The commands
One line per retention change. Shortening retention deletes older logs for good, and so does setting a first retention on a Never expire group. Check your SOC 2, PCI DSS and contract obligations, and export what you must keep to S3, before you run these.
How to check
Find your own numbers
- In Cost Explorer, filter Service to CloudWatch and group by Usage type.
DataProcessing-Bytesis ingestion,VendedLog-Bytesis logs from AWS services such as VPC Flow Logs, andTimedStorage-ByteHrsis storage. Each has a region prefix such asUSE1-. - Rank log groups by ingestion with a CloudWatch Metrics Insights query over the past week. Divide each sum by 7 for a day, and convert the bytes to GB:
SELECT SUM(IncomingBytes) FROM SCHEMA("AWS/Logs", LogGroupName) GROUP BY LogGroupName ORDER BY SUM() DESC - List every group with no retention:
aws logs describe-log-groups --query 'logGroups[?!retentionInDays].logGroupName' --output table - This calculator prices custom logs. Vended logs (VPC Flow Logs, CloudFront, WAF) are priced in volume tiers, so treat their results as an upper bound, or send them to S3 and query them with Athena.
- Infrequent Access costs less but supports fewer features. Check the CloudWatch Logs feature comparison before you move a group that drives metric filters or subscriptions. A group's class can't be changed after it is created.
- The full walk-through: why most of a CloudWatch Logs bill is ingestion of logs nobody reads, and gotcha 8 in our free Cloud Bill Gotchas guide.
Optional
Get the free guide: 12 cloud bill gotchas, and how to get the money back.
The tool works without it. The signup sends only your email address.
Privacy
Your numbers stay on this page
- The tool runs in your browser. The page loads its own price list from this site and sends nothing you type or paste, log group names included.
- Its Content-Security-Policy only allows connections back to this site, and it loads no third-party scripts, fonts or trackers.
- A shared link keeps your inputs after the
#. Browsers never send that part of a link to a server. - The only request with something you typed is the optional email signup. It sends your email address and the tool's name, nothing else.
Want us to look at the real thing?
Book a free 30-minute consult: we'll look at your bill with you, no obligation and no sales pitch. Or check your own cloud bill first with our free Cloud Bill Gotchas Checker.
Book a free 30-minute consult