The access log records the time, client IP, domain, path, status code, cache hit or miss and latency of each request. It is the most direct basis for troubleshooting.
| Client IP | Path | Status | Cache | Latency |
|---|---|---|---|---|
| IP A | / | Success | HIT | Fast |
| IP B | /api/list | Success | MISS | Slower |
| IP A | /cart | 5xx | MISS | Timeout |
| IP C | /img/a.jpg | Success | HIT | Fast |
| IP B | /search | Success | MISS | Slower |
| IP C | /static/app.js | Redirect | HIT | Fast |
Query
Go to Statistics, choose "Site" in the page header and switch to the Access log view. The log also has a JA4 column for recognizing the same client; see JA4 / TLS fingerprint. After choosing the time range, filter by domain, status code, client IP, path and more.
Typical troubleshooting:
- A visitor can't open the site: search by their IP and see whether the status is 4xx or 5xx.
- High origin load: filter requests that missed the cache and see which paths go to the origin.
- Suspected attack: aggregate by path or source, then check the attack log for blocks.
Export and download
- "Export access logs" exports by the current filter.
- "Log download" generates a log file for download; generated files are deleted automatically after a while.
Each user has a daily limit on log downloads, set by the administrator; 0 means users may not download.
Retention
Access logs are kept for a limited number of days, set by the administrator; older logs can't be queried.
The trends you see in logs are summarized as charts in Statistics.