Log Cost Breakdown
Paste your log group, log name or Datadog service sizes and see which cost most and which change fits each.
Paste your top sources
Run one of these read-only commands and paste what it prints, or paste a table of names and GB a day. It is read in your browser, never sent, and never put in the address bar. A link you copy keeps each source’s kind and size, never its name.
aws cloudwatch get-metric-data --start-time "$(date -u -d '-14 days' +%Y-%m-%dT00:00:00Z)" --end-time "$(date -u +%Y-%m-%dT00:00:00Z)" --metric-data-queries '[{"Id":"q1","Expression":"SELECT SUM(IncomingBytes) FROM SCHEMA(\"AWS/Logs\", LogGroupName) GROUP BY LogGroupName ORDER BY SUM() DESC LIMIT 50","Period":86400}]'AWS CloudShell or a Linux shell with the AWS CLI; on macOS, install coreutils and use gdate. Needs cloudwatch:GetMetricData. Run it in each Region.
aws logs describe-log-groups --output jsonSame shell. Needs logs:DescribeLogGroups. Shows which groups never expire.
CloudWatch list prices, US East (N. Virginia), Standard log class. Read 8 Nov 2026.
What this model assumes
Show
- Priced together, then split. Free allotments and tiers apply to the account or project, not to a log group, so the sources are priced as one bill on Amazon CloudWatch Logs’s own charges. Each charge is then split by what each source adds to it: network or vended charges by those sources, the rest by volume (Datadog indexing by events).
- The kind sets the price and the fit. On Google, VPC Flow, firewall and Cloud NAT logs pay to be generated and are stored at their own rate. On CloudWatch, VPC Flow and Lambda logs are vended logs, priced on their own tiers. Each kind is guessed from the name: check it.
- Today’s retention for all of them. Steady state: storage is volume a day times days kept. Groups with different retention? Price each set apart. Logs Insights queries and archives are not counted here; the calculator prices them.
- Read in your browser. Nothing pasted is sent anywhere. The address bar keeps only the provider’s settings; a link you copy adds each source’s kind, size and change, never its name.
Prices verified 8 Nov 2026. Public list prices in USD for Google Cloud, 11 AWS Regions, six Datadog sites, before any discount you have negotiated.
One log group or service is most of the bill?
Cloud Cost Audit: We trace it to the code and settings that write it, and agree what to keep. From $1,500, fixed. Nothing paid upfront.
Questions
How do I find which CloudWatch log groups cost the most?
Ask CloudWatch for IncomingBytes by log group. A Metrics Insights query, SELECT SUM(IncomingBytes) FROM SCHEMA("AWS/Logs", LogGroupName) GROUP BY LogGroupName, run through aws cloudwatch get-metric-data with a one-day period, returns the bytes each group ingested each day over the last two weeks, at most 500 groups. Ingestion is usually the biggest CloudWatch charge, so this ranks the groups by what they cost. aws logs describe-log-groups adds each group's stored bytes and retention: a group with no retentionInDays never expires.
How do I see Google Cloud log volume by log name?
The logging.googleapis.com/byte_count metric counts the bytes of log entries stored in at least one log bucket, with a log label and a severity label. Summed by day and grouped by the log label, through the Cloud Monitoring API or Metrics Explorer, it shows which logs fill your buckets. Excluded entries are not in it, because they are never stored or billed.
How do I see Datadog log volume by service?
Datadog reports its own estimated usage as metrics: datadog.estimated_usage.logs.ingested_bytes, summed by service with .as_count(), gives the bytes each service sends a day. Ingestion is billed per GB of every log sent; indexing is billed per million events for the logs you index.
Which change fits which kind of log?
Flow logs are read as patterns, so sample them where they are generated, or on AWS, where flow logs cannot sample, log fewer fields or only rejected traffic. Request and load balancer logs sample well. Lambda can stop sending lines below a log level once it logs in JSON. Kubernetes clusters can collect fewer components. Application debug output and health checks are the usual first cut. Audit logs come last: check what compliance needs before changing them.
Why is a split by source not the same as each source priced alone?
Free allotments and price tiers apply to the account or project, not to one log group. The page prices all the sources as one bill on the provider's own charges, then splits each charge by what each source adds to it, so the rows add up to the bill. Removing one source saves about its share, a little less while the free allotment still covers part of the bill.
Is what I paste sent anywhere?
No. It is read by this page in your browser. The address bar keeps only the provider's settings. A link you copy on purpose carries each source's kind, size and change, never its name, because log group and log names can hold account and project IDs.
Can a script or an AI agent use this?
Yes, with no key or account. POST the provider and a command's output to /log-cost-breakdown/api and get the same breakdown as the page, as JSON or Markdown. What you send is reported on in memory and not kept. data.json describes the method, the commands and the prices.
Related tools
Cloud Logging Cost Calculator
Why logs are expensive, and what filtering, sampling or shorter retention would save.
OpenCustom Metrics Cost Check
Which tags multiply your custom metrics, and what each metric costs on CloudWatch, Google Cloud and Datadog.
OpenRequest Cost Calculator
What one API request costs, part by part, and when a cache pays for itself.
OpenMore tools for: Storage and lifecycle
A paste is two weeks. Your bill has every month.
Finitizer reads your AWS and Google Cloud billing data every day, shows which accounts and projects drive the logging line, and tracks what each change saves once it is made.
See how Finitizer works