To find which log group drives your CloudWatch Logs bill, rank log groups by the IncomingBytes metric, not by stored size. In US East (Northern Virginia), Standard-class ingestion is $0.50 per GB and storage is $0.03 per GB-month, as listed on 5 December 2026 [1].
That gap decides where the fix goes. Shorter retention trims the storage line, but the ingestion line only falls when fewer bytes arrive [3]. I read AWS’s price list and docs to build a repeatable method: rank the groups, price them, then cut at the source.
What a CloudWatch log group actually costs
AWS bills logs for what is collected, stored and analysed, and each shows up as its own usage type [3]. These are US East (Northern Virginia) prices from the price list file published on 2026-11-25, which I read on 5 December 2026 [1].
| Charge | Usage type in the bill | Price, US East (Northern Virginia) |
|---|---|---|
| Ingestion, Standard class | DataProcessing-Bytes [3] | $0.50 per GB [1] |
| Ingestion, Essentials (formerly Infrequent Access) class | DataProcessingIA-Bytes [3] | $0.25 per GB [1] |
| Ingestion, vended logs in Standard class | VendedLog-Bytes [3] | $0.50 per GB for the first 10 TB, then lower tiers [1] |
| Storage | TimedStorage-ByteHrs [3] | $0.03 per GB-month [1] |
| Logs Insights queries | DataScanned-Bytes [3] | $0.005 per GB scanned [1] |
Vended logs are the ones AWS services create for you, such as Amazon VPC and Route 53 logs [3]. Lambda joined them on 1 May 2025, when AWS reclassified Lambda logs as vended logs with volume tiers [12].
The tiers apply to all vended logs together, not per service [12]. So when I look for Lambda log groups in a bill, I’d check the vended lines as well as DataProcessing-Bytes [3][12].
Does cutting retention reduce the CloudWatch bill?
Only the storage part. AWS’s cost guide lists retention as the way to get “lower costs for storage”, and names verbose log syntax as what drives volume [3].
The arithmetic from the listed rates: a GB ingested in Standard class costs $0.50 once, and keeping it costs $0.03 per GB-month [1]. Storage would take about 17 months to match the ingestion fee, and stored bytes are compressed, which pushes that point further out [1][5].
Retention is still worth setting. Log data is kept indefinitely by default, so a group nobody configured adds storage every month [6]. Expired events stop adding storage cost once they are marked for deletion, though the deletion itself typically takes up to 72 hours [6].
How to rank CloudWatch log groups by ingested bytes
With the LogGroupName dimension, IncomingBytes is the uncompressed volume uploaded to each log group [4]. AWS’s knowledge center gives this metric math expression, where 2592000 seconds is 30 days [5]:
SORT(REMOVE_EMPTY(SEARCH('{AWS/Logs,LogGroupName} MetricName="IncomingBytes"', 'Sum', 2592000)),SUM, DESC)
Paste it into All metrics as a math expression, switch the graph to Number, and set an absolute range covering the last 30 days [5]. AWS warns that a relative range returns incorrect data [5].
The console graphs up to 500 metrics this way [5]. Past that, AWS’s route is ListMetrics plus GetMetricData, sorted yourself, and ListMetrics defaults to 25 transactions per second [5].
At the listed Standard rate, a group that ingested 200 GB last month cost $100 to ingest in US East [1].
The log group a storage ranking misses
AWS’s CLI example sorts log groups by storedBytes, the compressed bytes stored in each group [5]:
aws logs describe-log-groups --query 'logGroups | sort_by(@, &storedBytes) | reverse([]) | [].{"LogGroupName": logGroupName, "StoredBytes": storedBytes, "RetentionInDays": retentionInDays}' --output table
A group with short retention and heavy ingestion looks small in that list while its ingestion line keeps growing.
So I would put the two rankings side by side. A group near the top of the IncomingBytes list and near the bottom of the stored list has an ingestion problem that retention will not touch.
More events or bigger events?
IncomingLogEvents counts the events uploaded to a log group [4]. Divide bytes by events for an average event size. If the count rose while the size held, something logs more often; if the size rose, someone added fields or payloads.
Cost Explorer vs CUR for log costs
The metric gives bytes and the bill gives dollars. AWS documents these routes.
| Method | What it gives you | Limit in AWS’s docs |
|---|---|---|
| IncomingBytes metric math | Uncompressed bytes per log group [4] | Up to 500 metrics per console graph [5] |
| Cost Explorer, grouped by Resource | Cost per log group | Past 14 days only, and it has to be enabled first [3][17] |
| Cost and Usage Report (CUR) with Athena | Spend per resource ID and usage type | Report must include resource IDs [3] |
| Logs Insights | Anything inside the log events | Billed per GB of uncompressed data scanned [7] |
The Cost Explorer route needs resource-level data enabled for the service. Once enabled, the data is available within 48 hours, and Cost Explorer shows the top 5,000 most costly resources per service [17].
For anything older than those 14 days, use CUR [3]. This is AWS’s Athena query for log spend by resource ID; the table name, year and month are placeholders [3]:
SELECT
line_item_resource_id AS ResourceID,
line_item_usage_type AS Operation,
SUM(CAST(line_item_unblended_cost AS decimal(16,8))) AS TotalSpend
FROM
{{costandusagereport }}
WHERE
product_product_name = 'AmazonCloudWatch'
AND year='{{2025}}'
AND month='{{4}}'
AND line_item_operation IN ('PutLogEvents','HourlyStorageMetering','StartQuery','LogDelivery','StartLiveTail','ParquetConversion')
AND line_item_line_item_type NOT IN ('Tax','Credit','Refund','EdpDiscount','Fee','RIFee')
GROUP BY
line_item_resource_id,
line_item_usage_type
ORDER BY
TotalSpend DESC
The usage type column is what separates ingestion from storage for the same group [3]. My opinion: use the metric for fast triage, and CUR for history and chargeback.
I’d skip Logs Insights for ranking, because you pay to read the bytes you are trying to cut. Scanning 1 TB costs $5.12 at $0.005 per GB in US East [1][7].
I also couldn’t find an AWS-documented Logs Insights query that ranks log groups by ingested bytes, so I’ve left one out.
How to reduce CloudWatch log ingestion cost
AWS’s own advice is to log only what has value: “A verbose log syntax drives volume and thus cost.” [3] Beyond editing the code, the documented levers depend on where the logs come from.
| Where the logs come from | Lever | What AWS documents |
|---|---|---|
| Lambda functions | Log-level filtering | At WARN, Lambda doesn’t send INFO and DEBUG output; the function must use the JSON log format [11] |
| Servers running the CloudWatch agent | Log filters in the agent config | The agent drops events that don’t match your include and exclude expressions before sending [14] |
| Any custom log group | Essentials log class | $0.25 against $0.50 per GB in US East [1] |
| Vended logs kept for audit, such as VPC Flow Logs | Deliver to S3 instead of CloudWatch | $0.25 per GB for the first 10 TB delivered, against $0.50 ingested, in US East [1][3] |
Essentials has two catches. A log group’s class can’t be changed after creation, so switching means a new log group [2]. It also drops features, including metric filters, subscription filters and Live Tail [2].
One lever doesn’t work the way it looks. A CloudWatch pipeline can filter log events, but for AWS service sources and logs already in CloudWatch Logs, ingestion is metered before the pipeline runs [13]. Charges follow the original volume, even if the pipeline reduces it [13].
If volume keeps growing after that, a budget alert on the CloudWatch line catches the next spike earlier.
How to split shared costs like NAT gateway and transit gateway
A shared NAT gateway bills per hour and per GB processed, and without a policy it shows up as a single charge [10][16].
That changed on 16 November 2026, when AWS announced Networking Flexible Cost Allocation [15]. Attach a policy to the NAT gateway, turn the data on under split cost allocation data, and CUR itemizes its charges by network interface, instance, subnet, VPC, account, or CIDR ranges you label per team [15][16].
It costs nothing extra and changes the report, not the bill [15]. Allocated line items appear in CUR within 24 hours [15].
Transit gateways need their own setup, because the NAT policy doesn’t allocate transit gateway charges [16]. By default, data processing goes to the account that owns the source attachment, and a metering policy of up to 50 entries can reassign it [9].
Where neither fits, cost categories can split a shared cost proportionally, by fixed percentages or evenly, with up to 10 rules per category [8]. The catch is that split results appear only on the cost categories details page, not in CUR or Cost Explorer [8].
I couldn’t verify one thing readers ask next: how long to watch an untagged or idle resource before switching it off. I found no AWS guidance on it, so I’m not giving a number.
A tag policy alone doesn’t fix attribution; the enforcement side is in how to enforce a cloud tagging policy. For spend that can’t be tagged, CloudPi’s cost allocation attributes it from signals other than tags.
Sources
- AWS Price List API: Amazon CloudWatch offer file, US East (N. Virginia)
- Log classes – Amazon CloudWatch Logs
- Analyzing, optimizing, and reducing CloudWatch costs – Amazon CloudWatch
- Monitoring with CloudWatch metrics – Amazon CloudWatch Logs
- How do I identify the log group that causes a sudden increase in my CloudWatch Logs bill? – AWS re:Post Knowledge Center
- Working with log groups and log streams – Amazon CloudWatch Logs
- Analyzing log data with CloudWatch Logs Insights
- Splitting charges within cost categories – AWS Billing
- Flexible cost allocation – AWS Transit Gateway
- Pricing for NAT gateways – Amazon VPC
- Log-level filtering – AWS Lambda
- AWS Lambda introduces tiered pricing for Amazon CloudWatch logs and additional logging destinations – AWS Compute Blog
- CloudWatch pipelines – Amazon CloudWatch
- How do I resolve log ingestion issues with the CloudWatch agent and reduce costs? – AWS re:Post Knowledge Center
- AWS announces Networking Flexible Cost Allocation for Amazon VPC – AWS What's New
- Allocate NAT gateway costs – Amazon VPC
- Resource-level data at daily granularity – AWS Cost Management
