login community faq

I installed AWstats on my static site last night (1-22-11). My site has been up and running for about two weeks, but AWstats is only showing activity from 1-21-11 forward. Is there any way to get the site stats for the two previous weeks? Is AWstats "retroactive" at all in pulling stats, or does it just show stats from the time it was installed?

asked Jan 23 '11 at 12:50

dbhic's gravatar image

dbhic
11


Yes. The basics are outlined in the official docs,

1
http://awstats.sourceforge.net/docs/awstats_faq.html#OLDLOG

On our platform we take care of log management, logs are located in ~/logs/. Awstats is designed to fetch the data from the logs in ~/logs and build its own log file in ./data/log. This is accomplished by a script 'update_awstats.sh'. To do what you would want you should make a copy of this script, modify the paths to include the other logs, and than run it once.

answered Jan 23 '11 at 13:33

johns's gravatar image

johns ♦♦
345427

I've read in the official docs about that, but I just don't understand how to access my logs. I've created a static site using Dreamweaver on a Mac. I don't understand ~/logs. Where/how do I access and change them? I'm not too knowledgeable, sorry!

(Jan 23 '11 at 17:52) dbhic dbhic's gravatar image

Hi,

Awstats will access your logs for you by running a perl script that reads them and generates your site's info.

You can access the logs by logging into your server via SSH or FTP and navigating to your /home/username/ directory. (Which is also called $HOME or ~/) You can then navigate to the logs directory, then to the frontend directory, and finally to access_sitename.log to see what your log files actually have in them. You shouldn't need to modify them.

(Jan 23 '11 at 18:10) klynton ♦♦ klynton's gravatar image

So I found the logs, deleted the awstats012011.txt file as the "old log" documentation suggested. Then I updated my stats report and now it only shows stats for yesterday and today. I've read and re-read the docs, but it is very confusing to me. Can anyone give me a step-by-step of what to do to collect all the stats for my site so I can view them? Sorry to be so dense!

(Jan 23 '11 at 21:42) dbhic dbhic's gravatar image

Hi,

I've run the commands to pull the data from the last 7 days into your stats, we rotate the logs after that so you won't be able to get the logs going back further than that.

(Jan 23 '11 at 23:14) klynton ♦♦ klynton's gravatar image

"...we rotate the logs after that so you won't be able to get the logs going back further than that." Forgive me for checking (maybe there's new info?) but is there absolutely no way to get stats figs for the site/server for the past few months? Maybe we can download from somewhere? If we could get access somehow that would get us out of a hole.

thanks John

(Jun 26 '12 at 12:09) johnhws johnhws's gravatar image

No, sorry - we still do not keep more than 7 days web server logs, so there's no way to get data for the past few months.

(Jun 26 '12 at 14:08) seanf ♦♦ seanf's gravatar image
showing 5 of 6 show all
Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×14

Asked: Jan 23 '11 at 12:50

Seen: 1,924 times

Last updated: Jun 26 '12 at 14:08

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited