InMotion Hosting Support Center

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 Metrics section, click on Raw Access
  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.

Was this article helpful?

Related Questions

Here are a few questions related to this article that our customers have asked:
Raw Access Logs & Bad Bots
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

n/a Points
2015-09-13 1:48 pm

Is there away to SSH in on command line and download the raw log files?

43,761 Points
2015-09-14 1:16 pm
Hello Chris,

The logs are in an area you would not have access to using SSH.

Kindest Regards,
Scott M
n/a Points
2016-04-20 8:08 am

It is possible to download them via ssh. The "live" access logs are found at /home/<USERNAME>/access-logs/ and the archives are found in /home/<USERNAME>/logs/


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.

9,968 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.

9,968 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

Email Address:
Phone Number:

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

7 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


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:
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!