Joint session with Vercel: How to build intelligent storefronts (May 15th)

How to identify what's consuming excessive bandwidth in Sanity?

12 repliesLast updated: Nov 29, 2025

Looking for the best way to see what is chewing through the bandwidth on one of our website.This seems insane for a marketing site.
AI Update

Based on your concern about bandwidth usage on your marketing site, Sanity has a built-in feature called Request Logs that's perfect for diagnosing exactly what's consuming your bandwidth.

How to Access Request Logs

What You'll See

The logs come as gzipped NDJSON files with detailed information about every request, including:

Analyzing the Data

You can convert the logs to CSV for easier analysis:

gunzip --stdout logfile.ndjson.gz | npx json2csv --ndjson --output output.csv

Then open in Excel/Google Sheets, or use tools like jq, GROQ CLI, or even upload samples to ChatGPT for analysis help.

Common Culprits for High Bandwidth

Based on common issues others have found:

Pro tip: Filter out studioRequest entries - those are from your Sanity Studio and don't count toward your bandwidth costs.

The Request Logs should give you a clear picture of what's driving your bandwidth usage so you can optimize accordingly!

Show original thread
12 replies

Was this answer helpful?

Sanity – Build the way you think, not the way your CMS thinks

Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.

Related contributions