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:

cpanel-raw-access-logs-sample

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.

180.76.5.100 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)

"GET..."

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

/2011/12/what-time-is-it-anyways/

Resource accessed Usually shows specific file path to the file (document, image, etc.) the user viewed
"Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)" 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 our Help Center:
Email Address
Optional, but our team may contact you for more information.
Did you find this article helpful?

Post a Comment

Name:
Email Address:
Comment:
Are you a bot?
Submit

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

News / Announcements

Update to SSL Certificates - Certificate Warnings
1969-12-31 11:00 am EST
Hits: 635
What is the Heartbleed bug?
1969-12-31 11:00 am EST
Hits: 261

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!

Help Center Search

Current Customers

Email: support@WebHostingHub.com 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.