How to view raw access logs

Each request made to a website is added to the raw access log. This file is kept on the server and can be downloaded from the cPanel interface.

Prerequisites

  • Access to cPanel

Task completion: 5 minutes

Expertise: beginner

How to do it?

  1. Log in to your cPanel account

  2. In the Metrics section, click on Visitors.

  3. Click the domain name of your choice to get reports on who visited your website.

Example log entry

13.66.139.71 - - [30/Dec/2020:08:24:57 -0500] "GET /sitemap_index.xml HTTP/1.1" 404 - "-" "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)"

Source_IP - - [Date_Hour] “Request_type Requested_resource Trensfer_Protocol” HTTP_Code - “-” “User_Agent”

Log in to your cPanel

0 Comments

Please sign in to leave a comment.