Cloudflare Images lets you store, optimize, and deliver hosted images through a scalable image pipeline. The new Images Analytics dashboard ↗︎ provides up to 30 days of delivery data for assets stored in Images, helping you understand how and where they are requested.

In Images & Stream > Hosted images > Analytics, you can:
- Investigate traffic trends and sources. Review request volume over time, then filter by country, autonomous system number (ASN), or referrer to trace spikes and unexpected traffic.
- Troubleshoot delivery. Break down requests by response status code to identify errors. Filter by browser or operating system to understand which output formats different clients receive.
- Understand asset and variant usage. Find the most-requested source images and compare predefined variants with inline configurations to see which configurations account for the most requests.
Use cf sql query to query delivery data from the terminal. The SQL API exposes this data in the events.imagesHostedRequests dataset:
cf sql query \
'SELECT httpStatus, COUNT(*) AS requests
FROM events.imagesHostedRequests
GROUP BY httpStatus
ORDER BY requests DESC
LIMIT 20' \
--scope-account "<ACCOUNT_TAG>" \
--time-since "<START_TIME>"
The SQL API also exposes transformation data, such as binding requests, from the events.imagesTransformations dataset:
cf sql query \
'SELECT isBindingRequest, scriptName, originHost, COUNT(*) AS transformations
FROM events.imagesTransformations
GROUP BY isBindingRequest, scriptName, originHost
ORDER BY transformations DESC
LIMIT 5' \
--scope-account "<ACCOUNT_TAG>" \
--time-since "<START_TIME>"
Open the Images Analytics dashboard ↗︎ or use the Cloudflare CLI to investigate recent traffic changes and identify the hosted images and variants driving requests.
Source: Cloudflare


