Skip to main content

Export raw logs to CSV

GET 

/api/monitoring/logs/export

Streams matching access logs as a CSV download. Honors the same filters as /api/monitoring/logs but ignores pagination and is capped at the most recent 100,000 rows. Returns 403 if your account has no hostnames. Only raw logs can be exported — aggregate statistics have no export endpoint.

Request

Responses

CSV file. Columns: Time, Host, Method, URI, Status, Size, Duration_ms, IP, Country, Device, Browser, OS, Cache.