How to Track your Website Visitors and How They Access Files?
Posted by Allura on 25 02 2019.
One can navigate to (cPanel >> Home >> Metrics >> Raw Access) to work on this feature. The text files having the information about your website’s visitors and the content on your website being accessed by them are known as raw access logs. It allows in downloading a vigorous version of your access log.
This feature helps in configuring cPanel in order to archive logs and delete them automatically when in need.
- Firstly one needs to select the Archive log files in your home directory after the system processes statistics. checkbox in order to move log files to the /home directory after processing the website’s statistics by the system.
- Then one has to select the Remove the previous month’s archived logs from your home directory at the end of each month. Checkbox in order to remove the previous month’s logs at the end of each month.
- Lastly, click on Save in order to store the changes.
Download Current Raw Access Logs
This feature helps in enlisting the domains on one’s account, as well as the log information.
- Domain — Contains list of domains on one’s account. One has to perform these steps in order to access a domain’s raw access log:
- Click on the desired link to download the particular domain’s raw access log. It will automatically download to the computer.
- Unzip the file in order to view it.
- Last Update — Contains the date of the current update to the log file.
- Disk Usage — Contains the amount of disk space used by the log files.
- Linked Domains — Contains the list of the domains positioned on top of the domain.
Archived Raw Logs
This feature helps in enlisting the archived logs that one’s /home directory has.
It is to note that the system will only update the archive at the end of each month. One can read our cPanel Log Rotation Configuration documentation to gather more information on this.
- Firstly one has to click on the filename so as to download an archived log file.
- One can also view the log file through the command line in one’s /home/username In that case, one has to use one’s preferred text editor in order to open the access-logs file.
Note that the directory will remain empty if none of the archived files exist.
All valuable information on raw access files are outlined in this review.