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…

Your account

Ingestion is costed for this many days.

Storage is billed on compressed bytes. AWS's pricing page uses a 0.15 compression ratio.

With no retention nothing is deleted, so storage keeps growing. This is what it reaches after that many days.

0 drops them, or moves them out of CloudWatch. 10 samples 1 line in 10.

Paste your describe-log-groups output

Run this in each region you use and paste the JSON. It replaces the groups below. It reports names, retention and class, not ingestion, so fill in GB per day afterwards (see "How to check" below).

aws logs describe-log-groups --output json

    Log groups

    GB per day is what the group ingests before compression. Debug and noise share is the part of that volume you could drop or sample: debug lines, health checks, access logs.

    Log groupGB per dayClass nowRetention nowNew retentionNew classDebug and noise (%)Remove

    How to check

    Find your own numbers

    • In Cost Explorer, filter Service to CloudWatch and group by Usage type. DataProcessing-Bytes is ingestion, VendedLog-Bytes is logs from AWS services such as VPC Flow Logs, and TimedStorage-ByteHrs is storage. Each has a region prefix such as USE1-.
    • 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.

    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