• Home
  • Platform
    • Platform Capabilities
    • Integrations
    • Intelligent Workflows
    • Multi Cloud Cost
    • Policy Engine
    • Cost Allocation
    • Billing Analysis
    • Rightsizing
    • Dashboards & Reports

      Platform Capabilities

      Full-stack cloud control layer

      Integrations

      Connect 200+ cloud services

      Intelligent Workflows

      Event-driven task scheduling

      Multi Cloud Cost

      Unified cost visibility

      Policy Engine

      Compliance at enterprise scale

      Cost Allocation

      Tag-based allocation & chargeback

      Billing Analysis

      Deep-dive usage anomalies

      Rightsizing

      AI-powered resource sizing

      Dashboards & Reports

      Real-time custom reporting

      Platform Preview

      CloudPi Platform

      Govern and optimize multi-cloud spending with absolute precision using neural anomaly calculations.

      Cost Optimization +40% ROI
      Security Score 99.9%
      Explore Platform
  • Solutions
    • Solutions by Role
    • Solutions by Persona
    • Why CloudPi

      Solutions by Role

      Custom tools designed for FinOps, Engineering, and Finance.

      Solutions by Persona

      Aligned with executives, managers, and system operators.

      Why CloudPi

      Four core challenges, four answers, one governed system.

      Core Outcomes

      Solutions Value

      Empower your finance, engineering, and FinOps teams to govern cloud operations collaboratively with absolute precision.

      Cost Efficiency Boost +55% Savings
      Time-to-Value Instant Day-1
      Explore Solutions
  • Company
    • About
    • Book Demo
    • Security
    • Features

      About Us

      Our mission, vision & core team.

      Book Demo

      Schedule a custom walkthrough.

      Security

      Zero-trust enterprise protection.

      Features

      Deep dive platform capabilities.

      Trust & Uptime

      About CloudPi

      We are building the future of autonomous cost optimization to help modern enterprise cloud control rooms run efficiently.

      Enterprise Trust Score 100% Secure
      Standard SLA 99.99%
      Learn More
  • Pricing
  • Resources
    • Documentation
    • FAQ
    • Videos
    • AWS S3 Cost Surge
    • Freight Manufacturer
    • API Cost Tracking

      Documentation

      User guides, configurations, and reference manuals.

      FAQ

      Frequently asked questions and support notes.

      Videos

      Walkthroughs, demos, and feature highlight videos.

      Case Studies

      Real-world cloud cost optimization outcomes and client stories.

      Resources Hub

      Learn & Grow

      Explore our collection of detailed guides, video walkthroughs, and case studies to supercharge cost controls.

      Guides & Tutorials 50+ Articles
      Demo Video Views 10K+ Watched
      Visit Learn Center
BOOK DEMO
HomeBlog CloudWatch Logs cost by log group: how to find and reduce log ingestion cost

CloudWatch Logs cost by log group: how to find and reduce log ingestion cost

cloudpi inc on December 5, 2026
Blog
8 Min Read

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].

ChargeUsage type in the billPrice, US East (Northern Virginia)
Ingestion, Standard classDataProcessing-Bytes [3]$0.50 per GB [1]
Ingestion, Essentials (formerly Infrequent Access) classDataProcessingIA-Bytes [3]$0.25 per GB [1]
Ingestion, vended logs in Standard classVendedLog-Bytes [3]$0.50 per GB for the first 10 TB, then lower tiers [1]
StorageTimedStorage-ByteHrs [3]$0.03 per GB-month [1]
Logs Insights queriesDataScanned-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.

MethodWhat it gives youLimit in AWS’s docs
IncomingBytes metric mathUncompressed bytes per log group [4]Up to 500 metrics per console graph [5]
Cost Explorer, grouped by ResourceCost per log groupPast 14 days only, and it has to be enabled first [3][17]
Cost and Usage Report (CUR) with AthenaSpend per resource ID and usage typeReport must include resource IDs [3]
Logs InsightsAnything inside the log eventsBilled 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 fromLeverWhat AWS documents
Lambda functionsLog-level filteringAt WARN, Lambda doesn’t send INFO and DEBUG output; the function must use the JSON log format [11]
Servers running the CloudWatch agentLog filters in the agent configThe agent drops events that don’t match your include and exclude expressions before sending [14]
Any custom log groupEssentials log class$0.25 against $0.50 per GB in US East [1]
Vended logs kept for audit, such as VPC Flow LogsDeliver 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

  1. AWS Price List API: Amazon CloudWatch offer file, US East (N. Virginia)
  2. Log classes – Amazon CloudWatch Logs
  3. Analyzing, optimizing, and reducing CloudWatch costs – Amazon CloudWatch
  4. Monitoring with CloudWatch metrics – Amazon CloudWatch Logs
  5. How do I identify the log group that causes a sudden increase in my CloudWatch Logs bill? – AWS re:Post Knowledge Center
  6. Working with log groups and log streams – Amazon CloudWatch Logs
  7. Analyzing log data with CloudWatch Logs Insights
  8. Splitting charges within cost categories – AWS Billing
  9. Flexible cost allocation – AWS Transit Gateway
  10. Pricing for NAT gateways – Amazon VPC
  11. Log-level filtering – AWS Lambda
  12. AWS Lambda introduces tiered pricing for Amazon CloudWatch logs and additional logging destinations – AWS Compute Blog
  13. CloudWatch pipelines – Amazon CloudWatch
  14. How do I resolve log ingestion issues with the CloudWatch agent and reduce costs? – AWS re:Post Knowledge Center
  15. AWS announces Networking Flexible Cost Allocation for Amazon VPC – AWS What's New
  16. Allocate NAT gateway costs – Amazon VPC
  17. Resource-level data at daily granularity – AWS Cost Management
cloudpi inc on December 5, 2026 Blog
previous article

Leave a comment Cancel reply

Your email address will not be published. Required fields are marked *

About CLOUDPI

CloudPi Editorial Team

Cloud Cost Optimization & FinOps Specialists

Expert insights on FinOps, cloud cost optimization, governance, and automation for modern cloud teams.

  • X
  • Instagram
  • LinkedIn
  • YouTube

FEATURED POSTS

categories

  • AWS 4
  • Blog 13
  • Cloud Cost Optimization 42
  • CloudPi 13

related articles

  • CloudWatch Logs cost by log group: how to find and reduce log ingestion costDecember 5, 2026
  • How to reduce LLM API cost: what caching and model routing actually saveDecember 5, 2026
  • What Connectors Do You Need for Multi-Cloud Governance? A Practical Map for AWS, Azure and GCPDecember 4, 2026

popular tags

Cloud Cost Management Cloud Cost Optimization CloudCostOptimization CloudCostSavings CloudEfficiency CloudManagement CloudOptimization CloudPi CloudSavings FinOps Multi-Cloud Management

Read next
How to reduce LLM API cost: what caching and model routing actually save
cloudpi inc on December 5, 2026
The short answer: on a request with a long, repeated system prompt, prefix caching roughly halves the bill, and...
How to Get Unified Cloud Visibility Across AWS, Azure, and Google Cloud 5 Min
How to Get Unified Cloud Visibility Across AWS, Azure, and Google Cloud
CloudPi-Blogs on July 30, 2026
Unified cloud visibility means seeing spend, usage, and resource inventory across AWS, Azure, and GCP in one place,...
AWS vs Azure vs GCP: Which Cloud Is Actually Cheaper for Your Workload? 5 Min
AWS vs Azure vs GCP: Which Cloud Is Actually Cheaper for Your Workload?
CloudPi-Blogs on July 28, 2026
“Which cloud is cheapest” is the wrong question for an AWS vs Azure vs GCP cost comparison, and...

CloudPi helps organizations gain visibility into multi-cloud spending, optimize infrastructure costs, and enforce governance across AWS, Azure, and Google Cloud environments.

AvailableInMarket-AWS-DUHaQVhh

Stay ahead of cloud cost optimization trends.

PLATFORM
  • Platform Capabilities
  • Integrations
  • Intelligent Workflows
  • Cloud Cost Analytics
  • Policy Engine
  • Pricing
COMPANY
  • About Us
  • Features
  • Contact Us
  • Careers
  • Security
  • Privacy Policy
  • Terms of Service
RESOURCES
  • User Guide
  • Press Releases
  • FAQ
  • Case Studies
  • Blogs
  • Events
  • Webinars

categories

  • vs. Finout
  • vs. CloudZero
  • vs. Apptio Cloudability
  • vs. PointFive
  • vs. ProsperOps
  • vs. Harness

© 2026 CloudPi. All rights reserved.

Back to top