In cPanel you can access your website's raw access logs to see the traffic to your website, before it is turned into a report by statistics software. This is great for taking a closer look at the type of requests your site is getting.

To get the most out of your raw access logs, you would want to enable raw access log archiving in cPanel.

  1. Log into cPanel
  2. cpanel raw access logs displayedUnder the Logs section, click on Raw Access Logs
  3. cpanel select raw access log domainClick the domain you'd like to view stats for
  4. Your browser should download the compressed raw access log

    Once that has completed, use a program like 7zip to uncompress the files on your computer

  5. cpanel raw access logs opened on local computerUncompress the file and open it

    You will now see every request that your website had to deal with

If you just wanted to easily review your website traffic you could use something like AWStats in cPanel to do so.

If you have SSH access to your server, you can also learn about reviewing traffic from an Apache access log.

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
Name

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

Like this Article?

Comments

Post a comment
n/a Points
2014-07-20 6:15 pm

Great, but we have to log into cPanel to do this. I analyze my logs programatically, every day, to look for security issues, user activity, etc. Until some months ago this was easy because the raw log file for the day resided in a user-accessible folder that could be pulled by FTP. Now it's spirited away in some place that tech support don't know about or won't talk about, so manual cPanel is the only method available. Unless I'm willing to download the entire month's compressed log to pick out one day's records. Sorry to be blunt but this is a step backwards. I've closed one hosting account due to this, and may do the same with another.

Staff
9,521 Points
2014-07-21 12:49 pm
Hello Val,

I apologize for the inconvenience. The ability to FTP into the /access-logs directory does appear to be missing for the main cPanel users due to security restrictions on the server.

However you should be able to use the userna5_logs FTP user which should have the same password as your main FTP account, and has direct access into your website's raw access logs. Obviously, replace userna5_ with your own cPanel username.

Please let us know if you're still unable to access your raw access logs this way.

- Jacob
n/a Points
2014-07-21 4:49 pm

That worked. Thanks, Jacob.

Staff
9,521 Points
2014-07-21 7:28 pm
Hey Val,

Awesome! Glad that did the trick for you, thanks for commenting back and letting us know it worked. I'll go ahead and mark this guide as needing to be updated to also reflect that as an option for getting to your raw access logs.

Let us know if you run into any further problems, we are constantly updating our content to try to provide the best solutions for any issues!

- Jacob

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

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

News / Announcements

WordPress wp-login.php brute force attack
Updated 2014-07-17 06:43 pm EST
Hits: 200939

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!
Ask a Question

Need more Help?

Search

Ask the Community!

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

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!