Knowledge Base
MilesWeb / cPanel

Learn to configure and download Raw access logs in cPanel

Approx. read time : 2 min

The article describes how you can configure and download your website’s raw access log files in cPanel.

What are Raw Access Logs?

cPanel’s raw access log functionality allows you to configure and download your website’s raw log files for your own analysis.
Information about all visitors to your website and FTP site is incorporated in the Raw access logs. By configuring cPanel, you can archive this information every month in a compressed file in your home directory. You also get the option to configure cPanel to delete the previous month’s archived log files. Once you have downloaded and decompressed the archived log file to your computer, you will be able to view it in any text editor.

Note: Archived access logs are stored in the gzip file format and these files have a .gz file extension. If your computer works on Microsoft Windows, then you may need to download a program that can decompress .gz files.

# Steps to configure Raw Access Logs

Perform the following steps to configure raw access logs in cPanel :

1. Log in to cPanel.

2. Perform one of the following :

• In case you are using the Paper Lantern cPanel theme, then on the cPanel home screen go to the METRICS section and click Raw Access.

• In case you are using the x3 cPanel theme, then on the cPanel home screen go to the Logs section and click on Raw Access Logs.

3. Also, if you want to archive logs at the end of each month, select the Archive logs in your home directory at the end of each month checkbox.

4. Now, you can select the Remove the previous month’s archived logs from your home directory at the end of each month checkbox, to delete the archived logs for the previous month.

5. Click on Save.

# Steps to download Raw Access Logs

Perform the following steps to download the raw access logs from cPanel :

1. Log in to cPanel.

2. Perform one of the following :

• In case you are using the Paper Lantern cPanel theme, then on the cPanel home screen go to the METRICS section and click on Raw Access.

• In case you are using the x3 cPanel theme, then on the cPanel home screen go to the Logs section and click on Raw Access Logs.

3. Now click on the filename of the file that you want to download.

That’s it!

Also Read :

Learn to Configure Redirects in cPanel

Using cPanel Site Publisher to build website easily

Sonam Wagh
With an interest in doing something creative daily, Sonam works as a Digital Marketing Executive. She likes to write technical blogs related to web hosting, digital marketing, and other IT topics. She also likes to spend her leisure time on social media to find different strategies for client engagement.