Need help with high bandwidth on Sanity business plan, looking for more details on the dashboard.
I hear you on the bandwidth overage frustration! The good news is that Sanity does provide tools to dig into this, though it depends on your plan level.
Since you're on the Business plan, you should have access to Request Logs, which is exactly what you need to understand your bandwidth usage. Here's what you can do:
Accessing Your Request Logs:
- Go to sanity.io/manage and navigate to your project
- Click into the Usage section in your project settings
- Scroll to the bottom of the page where you'll find the option to download request logs
What You'll Get:
The logs come as compressed NDJSON files and include detailed info about every API and CDN request:
- Request type (API, APICDN, or CDN for assets)
- Full URLs with query parameters
- Timestamps
- IP addresses
- User agents
- Referrer information
- GROQ query identifiers (so you can see which queries are being called most)
This data will show you exactly what's driving your bandwidth usage - whether it's excessive API calls, large asset downloads, or specific queries being hammered.
Analyzing the Logs:
You can process these files with tools like:
jqfor command-line JSON processing- Convert to CSV:
gunzip --stdout [logfile].ndjson.gz | npx json2csv --ndjson --output [output].csv - Import into Excel/Google Sheets for analysis
- Use Python/Jupyter notebooks for deeper analysis
Pro tip: Filter out studioRequest entries - those are from Sanity Studio and don't count toward your bandwidth usage or costs.
If you're still having trouble accessing the logs or need help interpreting them, I'd recommend reaching out to Sanity Support directly through the Manage portal - Business plan customers should have access to direct support who can provide more specific guidance for your project and help you optimize your usage.
The request logs should give you the visibility you need to identify the culprit and optimize accordingly!
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.