Accessing the Raw Access Logs feature in cPanel

cPanel Tutorials and How To Guides

Wide range of key features crucial for website management

Compressed access logs

Updated: October 27, 2023
By: RSH Web Editorial Staff

Contact Us

cPanel Version 114.0.8  -  Theme Version Jupiter

cPanel Tutorials Access Logs

cPanel - Metrics - Raw Access Logs

Access Logs
Will allow you to see who has accessed your website without the use of graphs, charts, or other graphics. You can download the logs in a .gz format of text files that contain information about your websites Visitors


You can access logs for both Apache® and NGINX®.

This interface will not show ModSecurity® logs for NGINX. It only shows ModSecurity 2 logs for Apache.

Configure Logs

This section allows you to configure cPanel to automatically archive logs. You can also configure when to automatically delete them.

Select the Archive log files in your home directory after the system processes statistics. checkbox to compress and archive log files to the /home/username/logs directory after the system processes your website’s statistics.

By default, the system processes website statistics every 24 hours.

Your system administrator may change the process frequency or manually request a statistics run.

Select the Remove the previous month’s archived logs from your home directory at the end of the month. checkbox to remove the previous month’s logs at the end of each month.

Click Save to save your changes.

Download Current Raw Access Logs

This section lists the Domains on your account, as well as the log information.

A list of the domains on your account. To access a domain’s Raw Access log, perform the following steps:
    1) Click the desired link to download that domain’s raw access log.
    2) Open the .gz file to view it.

Last Update
The date of the most recent update to the log file.

Disk Usage
The amount of disk space that the log file uses.

Linked Domains
The list of domains parked on top of the domain.

If your system runs NGINX and does not use piped logging, the SSL and non-SSL files will be the same.

Archived Raw Logs

This section lists the archived logs that your /home directory contains.

Click the filename to download an archived log file.

Unzip the downloaded file and extract its contents with WinZip or WinRAR or any program that extracts .gz files.

You can also view the log file through the command line in your /home/username/logs directory.

The system only updates the archive at the end of each month. For more information, see cPanel Log Rotation Configuration documentation.

If no archive log files exist, this directory will remain empty.

Any logs generated by NGINX will contain "_NGINX" in the file name.

Related cPanel Tutorials and How To Guides
Tips and tricks that will make managing your website easier

Tweet  Share  Pin  Email

We welcome your comments, questions, corrections and additional information relating to this article. Please be aware that off-topic comments will be deleted.
If you need specific help with your account, feel free to contact us anytime
Thank you

More Articles Of Interest

RSH Web Services offers a full range of web hosting services that can be tailored to your business. Our cPanel hosting packages are tailored to meet your needs and budget. From personal, professional and, business