Skip to main content

How to Access and Configure Raw Access Logs in cPanel

Raw access logs provide a way to track who has visited your website without using any visual aids. You can access and configure raw access logs using the Raw Access icon in cPanel, which downloads a zipped version of the server's raw access log. This is a valuable tool for quickly identifying who is accessing your site. Check out Viewing Stats for information about website traffic analysis tools.

Find Raw Access Logs in cPanel

Below are instructions on how to access and download raw access logs in cPanel:

  1. Log in to your Bluehost Account Manager.

  2. In the left-hand menu, click Websites.

  3. Click the MANAGE button located next to the website you want to manage. Bluehost Account Manager - Website Manage button

  4. In the Overview section, click on the cPanel button below. Multiple hosting plans - cPane Email link

  5. You will be redirected to your cPanel Dashboard. Once you are in the dashboard, click on Raw Access. cPanel-Dashboard - Metrics - Raw Access

  6. Click the domain/subdomain from Download Current Raw Access Logs. cPanel-Dashboard - Metrics - Raw Access

  7. Open the log from your device and unzip the file to view it. Use a text editor to open the log and view it.

Configure Raw Access Logs

In the Configure Logs section, you can archive logs automatically in cPanel. You can also set up logs to be automatically deleted at a specified time.

  1. Tick the first checkbox to compress and archive log files to your home directory (/home/username/logs) after the system processes your website’s statistics. By default, the system will process your website statistics every 24 hours. checkbox to enable raw access log archiving in cPanel

  2. Check the second box to remove the last month's logs at the end of every month. Remove the previous month’s archived logs from your home directory at the end of the month checkbox

  3. Save your changes by clicking Save.

Summary

Raw access logs help track website visitors without visual aids. They can be accessed and downloaded in cPanel by clicking the Raw Access icon. You can also configure logs to be archived and deleted automatically.