Log Volume, Ingestion & Retention Cost Calculator: CloudWatch vs Datadog vs S3
Calculate exact daily log ingestion volume in GB/TB based on events per second (EPS) and payload size. Compare real monthly billing between AWS CloudWatch ($0.50/GB ingest tax), Datadog Log Management, and self-hosted Vector pipelines dumping to S3 Glacier ($0.0036/GB) with zstd, gzip, or Parquet compression.
Estimated Monthly Cost by Platform
Platform Ingestion vs Storage Cost Breakdown
| Platform / Architecture | Ingest Cost / Mo | Storage Cost / Mo | Total Monthly TCO | Architectural Verdict |
|---|
The Ingestion Tax: Why CloudWatch and Datadog Become Unsustainable at Scale
In cloud environments, logging bills grow quadratically when systems scale: you pay for network ingress, proprietary data ingestion, index compute, and long-term storage. AWS CloudWatch charges $0.50 per ingested GB. For a cluster producing 5,000 EPS of 700-byte JSON logs (302 GB/day), ingestion alone costs $4,600 every month before you query a single line.
Modern infrastructure architectures separate hot operational debugging from cold compliance retention. By running an in-cluster forwarding agent like Vector or Fluent Bit, teams compress raw JSON logs with zstd (-3) or convert them to columnar Apache Parquet, streaming them directly into an S3 bucket. A 90-day retention pool of 27 TB compressed costs less than $100/month in S3 Glacier Flexible, compared to over $5,500/month in managed APM solutions.
When logs are queried infrequently (audits, forensics, regulatory review), query engines like AWS Athena, ClickHouse Cloud, or DuckDB over S3 eliminate the need to maintain running OpenSearch or Elasticsearch clusters 24/7, unlocking 80% to 95% infrastructure cost reductions.
Frequently Asked Engineering Questions
Why is AWS CloudWatch ingestion so expensive compared to storage?
CloudWatch charges for real-time indexing, metric extraction filters, and streaming replication. However, over 95% of application logs are never read after 48 hours. Paying $0.50/GB to index inert debug logs is one of the biggest budget leaks in AWS.
How does zstd compare against gzip for production log compression?
zstd at level 3 provides comparable or superior compression ratios to gzip -6 (6.5x to 8x on JSON logs) while compressing 3x faster and decompressing up to 5x faster, minimizing CPU utilization on Kubernetes nodes.
Can I query logs stored directly in S3 Glacier?
Glacier Flexible Archive requires an asynchronous restore job (taking 1 to 5 minutes) before objects can be queried with Athena or DuckDB. For instant ad-hoc queries, keep recent logs in S3 Standard or S3 Express One Zone, and transition older logs to Glacier via S3 Lifecycle rules.
What is the best architecture to stop bleeding money on logs?
Deploy Vector or Fluent Bit as a DaemonSet. Route error logs (WARN/ERROR) and critical traces to your APM tool (Datadog/Grafana Cloud), and stream 100% of raw info/debug logs in compressed zstd chunks directly to S3. This achieves full audit compliance at a fraction of the cost.