How to View Latest Visitors and Download Raw Access Logs in cPanel

50 views
Short answer: Navigate to Metrics > 'Visitors' in cPanel to view real-time visitor IP requests, or click 'Raw Access' to download unparsed, compressed web server traffic logs.

Analyze real-time visitor requests, inspect originating client IPs, and download raw web server access logs for diagnostic audits.

Quick reference

cPanel Tools Metrics > Visitors & Metrics > Raw Access
Archived Logs Path /home/USER/logs/
Log Format Apache/LiteSpeed Combined Log Format (.gz)
Key Data Fields Client IP, Timestamp, HTTP Method, URI, Status, User-Agent

Steps

  1. Review Live Traffic: Open Visitors under the Metrics section in cPanel and click the magnifying glass next to your domain to inspect the latest incoming requests.
  2. Download Current Raw Logs: Navigate to Raw Access in the Metrics section and click your domain name to download the active log archive (.gz).
  3. Configure Log Rotation & Pruning: In the Configure Logs box, check Archive log files in your home directory and Remove previous month's archived logs to prevent unpruned logs from exhausting disk quotas.

Troubleshooting and tips

  • Inspecting Compressed Log Files: Extract the downloaded .gz archive using 7-Zip, WinRAR, or command line gzip -d, then open the text log in any standard text editor.
Need more help? If you run into an error while following these steps, open a ticket with technical support and our team will look into it. Open a ticket
Was this article helpful?
No, I need more help
Didn't find your answer?
Under 3 minutes
Submit Support Ticket