Performance and monitoring
Raw access log
Raw Access lets you download a domain's available web logs from cPanel. They contain request details such as the date, source address, path, method, HTTP code and, depending on the format, browser or referrer.
Download the right log
- Log in to cPanel and look for Raw Access.
- Select the domain and the HTTP or HTTPS variant you want to investigate.
- Download the file and unzip it into a private directory on your computer.
- Check the first and last dates in the content and their time zone.
Logs are rotated. If an old request does not appear, it may be because of the period kept, not because it never happened. The Raw Access documentation explains the archive and retention options available.
Investigate an incident
Search for the known time and path, and check several lines from the same interval. Tell a request for the main document apart from its images, CSS, JavaScript or application calls. A single visitor can generate many requests.
Bots also appear, and browser identifiers can be faked. An IP does not necessarily identify a person: it may belong to a shared network or a proxy. With a CDN, part of the traffic may never reach the origin and the information depends on how the proxy is logged.
A 200 only shows the status of that response; an application can deliver an error page with that code. Combine the access logs with the error log and the application's data when you investigate a fault.
Retention and privacy
Archiving logs uses disk space and its scope depends on the service configuration. Check what you need to keep before enabling or disabling archive options.
Do not upload full logs to a public folder: paths and parameters may include personal data or tokens. When you ask for help, share the interval and the lines needed, removing secrets and data unrelated to the diagnosis.
You may also find useful
- View access statistics with AWStats View AWStats reports based on the server logs and tell apart requests, visits and automated traffic...
- Check data transfer (bandwidth) in cPanel Check in cPanel the data transfer your hosting has used this month and in previous months, broken do...
- Enable statistics from the Metrics Editor Enable AWStats from cPanel's Metrics Editor only when you need local statistics, avoiding resource a...
- AccelerateWP: what it is, how to turn it on in cPanel and what each option does Turn on AccelerateWP for your WordPress from cPanel, understand what each section of the plugin does...
Something wrong or out of date? Tell us and we will review it.