The raw access logs from your cPanel account provides information on traffic and visitors to your site. The graphical tools such as AWStats and Recent Visitors in your cPanel use the data from these logs to create the charts and graphs you see in those tools. Information contained in the raw access logs includes: user agents, IP addresses, HTTP activity, and resources accessed by each visitor (explained in more detail below). Statistic programs can also use this log to determine the traffic to your site.

Sample Raw Access Log from cPanel

Below is an example of what a typical raw access log may look like:


Here's a brief description about each part of the data contained on each line of this file. Since the first few lines are actually from WordPress tasks performed by the server itself, we'll use the entry number 7 in the sample log above as our example. IP address The visitor's IP address
[22/Feb/2012:03:49:30 -0800] Time Date Stamp This is the date and time the user visited your site. In this example, the visit occurred at 3:49 (AM) on February 22, 2012. Time is shown in military time format ( hours are numbered from 00 to 23)


HTTP activity What HTTP requests the user sent to retrieve information from your site. GET and POST are the most common.


Resource accessed Usually shows specific file path to the file (document, image, etc.) the user viewed
"Mozilla/5.0 (compatible; Baiduspider/2.0; +" User agent Identifies how a user is accessing your site. User agents are anything that can view and read web pages. Browsers and search spiders are the most comment user agents.

How are raw access logs used?

Your raw access logs can be passed along to others who may be working with you on your site and need more information about your site visitors. You can also import the logs into a visual statistic program on your local computer to further review and analyze the information.

How do I download raw access logs?

You can download your raw access logs from within your cPanel account. In our next article, we'll walk you through configuring and downloading your site's raw access logs.

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.