// Cloudflare 2026-06-07 7 min read

Cloudflare Logpush vs. Logpull: The Hidden Infrastructure Costs of Building Your Own Retention Pipeline

header

Most teams don’t realize they have a log retention problem until they need data that no longer exists.

A production incident appears. Traffic suddenly drops. A customer reports strange behavior. A security event looks suspicious.

You open Cloudflare and discover the logs you need have already rolled off.

The investigation stops before it starts.

The Real Cost of Short Log Retention

Traffic logs are not just operational data.

They’re your historical record of:

  • Security incidents
  • Bot activity
  • API failures
  • Traffic spikes
  • Cache behavior
  • Performance regressions
  • Customer-reported issues

The problem is simple:

Bugs often appear today, but their root cause started weeks ago.

When historical logs disappear, so does your ability to trace what actually happened.

For startups and lean engineering teams, that creates unnecessary risk.

Option 1: Build a Logpush Pipeline Yourself

Cloudflare Logpush is powerful.

It can continuously stream logs to destinations such as AWS S3, Google Cloud Storage, Azure, and other platforms.

On paper, it sounds straightforward.

In reality, you’re building and maintaining a data pipeline.

Typical setup includes:

Infrastructure Components

  • S3 bucket creation
  • IAM policies
  • Bucket permissions
  • Cloudflare destination configuration
  • Data lifecycle policies
  • Athena configuration
  • Query optimization
  • Monitoring and alerting

What starts as “just store the logs” quickly becomes an analytics project.

Hidden Engineering Costs

RequirementAdditional Work
Log storageS3 configuration
PermissionsIAM policy management
Querying logsAthena setup
Cost optimizationPartitioning strategy
SecurityAccess controls
Team accessCustom dashboards
SearchabilityQuery tooling

None of these tasks directly improve your product.

They simply enable access to data you already own.

The Maintenance Never Stops

Storage grows.

Permissions change.

Team members rotate.

New zones get added.

Queries become slower.

Athena costs increase.

The infrastructure requires ongoing attention long after the initial setup is complete.

Option 2: Send Everything to Datadog or Splunk

Many teams skip infrastructure and choose a managed observability platform.

This solves the operational burden.

It introduces a different problem.

Ingestion-Based Pricing

Platforms like Datadog and Splunk are optimized for observability.

They’re also optimized around data ingestion.

As traffic grows:

  • More requests
  • More events
  • More indexed data
  • Higher monthly bills

The relationship is direct.

More traffic equals more cost.

The Surprise Invoice Problem

For startups, unpredictable costs are often worse than high costs.

A marketing campaign succeeds.

Traffic doubles.

Bot traffic spikes.

An attack occurs.

Your logging bill follows.

Many teams eventually start sampling or dropping logs simply to control costs.

Unfortunately, those are often the exact logs you’ll need later.

What About Logpull?

Cloudflare’s Logpull API gives you another option.

Instead of pushing logs to storage, you continuously pull them from the API.

This reduces infrastructure requirements compared to a full Logpush pipeline.

But you still need to build:

  • Collection services
  • Storage systems
  • Retry handling
  • Retention management
  • Search capabilities
  • Dashboards
  • User access controls

You avoid some complexity.

You don’t eliminate it.

The Question Most Teams Should Ask

Do you want to build a logging platform?

Or do you simply want access to your Cloudflare logs forever?

Those are very different goals.

A Simpler Alternative: Keep Your Logs Without Managing Infrastructure

That’s exactly why we built MetricKeeper.

Instead of provisioning storage, writing IAM policies, configuring Athena, or paying ingestion-based observability costs, you can start retaining Cloudflare logs in minutes.

No infrastructure.

No agents.

No pipelines.

No maintenance.

The Entire Setup Process

Step 1: Paste Your Cloudflare API Token

Create a Cloudflare API token with the required permissions.

Paste it into MetricKeeper.

Step 2: Choose Your Domain

Select the Cloudflare zone you want to monitor.

That’s it.

No bucket creation.

No destination configuration.

No storage accounts.

Step 3: View Logs Forever

Logs begin flowing automatically into a searchable dashboard.

Historical data remains available long after traditional retention windows would have expired.

You can search, filter, and investigate incidents whenever they occur.

Even months later.

Why This Approach Works Better for Small Teams

Most startups don’t need another infrastructure project.

They need answers.

When a customer reports an issue from three months ago, you need the logs.

When a slow-moving attack becomes obvious weeks later, you need the logs.

When an API deployment causes intermittent failures, you need the logs.

The value isn’t storage.

The value is having evidence when you need it.

Infrastructure Comparison

FeatureDIY Logpush StackDatadog / SplunkMetricKeeper
Setup timeHours to daysHoursMinutes
Storage managementRequiredManagedManaged
IAM configurationRequiredSometimesNone
Search interfaceBuild yourselfIncludedIncluded
Infrastructure maintenanceOngoingLowNone
Long-term retentionYour responsibilityCost-dependentIncluded
Engineering overheadHighMediumNear zero

Stop Losing Historical Data

Cloudflare logs become more valuable over time.

The traffic from last month may contain the clue that explains today’s outage.

The attack that looked harmless two weeks ago may become important during a security review.

The deployment that introduced a subtle bug may only reveal itself after thousands of customer sessions.

Deleting that history isn’t a storage decision.

It’s an observability decision.

Every investigation eventually becomes a historical investigation.

Secure Your Logs in Under 2 Minutes

Keep Your Cloudflare Logs Forever

Paste your Cloudflare API token, choose your domain, and start retaining logs immediately.

No S3 buckets. No IAM policies. No Athena. No ingestion surprises.

Setup time: less than 2 minutes.

Stop building log infrastructure and start using your logs.

Get Early Access →