Link to home
Start Free TrialLog in
Avatar of monro1964
monro1964Flag for Canada

asked on

AWSTATS : How to open the awstats052011.mywebsite.com-http.txt on my personnal PC

I downloaded all my AWSTATS log file (awstats052011.mywebsite.com-http.txt) on my personnal PC and want to open it with a software to analyse the OLD stats.

Do you know a software with this feature (On PC, not server)
- Open the awstats txt file
- Show stats report
- If possible generate custom report

Avatar of mrcoffee365
mrcoffee365
Flag of United States of America image

Only AWStats reads the .txt files that AWStats generates.  So no -- there isn't anything else which reads them and reports on them.

However, they're ASCII text, so you could look at them in a text editor if you wanted.  Any programming language can read them and you could write your own program to produce a report differently from AWStats.

There are many log analysis programs, so if you get the original logs from your Web site (not the .txt file output from running AWStats), then all the other log analysis programs can read your old log files and produce reports for you.
Avatar of monro1964

ASKER

I'm sad. I was expecting to find a tool who use those txt file.

You talking about : original logs from your Web site (not the .txt file output from running AWStats)

1- It is the log of AWSTATS or the log of my WEB SITE on my server?

2- How can I extract it to download it to my PC ?

3- With that log on my PC, witch software you suggest to me ?

(All those question come because my AWSTATS on my NetSol VPS is set to show only the current month. I don't find and know how to see the past month stats)

Tks
>>1- It is the log of AWSTATS or the log of my WEB SITE on my server?

It's the log of your web site on the server.  It sounds as if you may not have access to those -- you'll have to contact your ISP.

>>2- How can I extract it to download it to my PC ?
The access logs are not available from the Web site -- you have to have access to the server file system.  I think some ISPs do allow that for the log files, but I'm not sure.  Most don't.

>>3- With that log on my PC, witch software you suggest to me ?
I like AWStats.  If you run it against old logs, it will create files for past months.  It's a configuration option.

In fact, if you have the old .txt files generated by AWStats, you can run AWStats to generate the html that is the monthly report.
I Like this sentence

"In fact, if you have the old .txt files generated by AWStats, you can run AWStats to generate the html that is the monthly report."

Do you know how can I generate it. I'm using a VPS. I have Virtuozzo and Plesk access ?
You said in your original question that you had your old AWStats .txt files.  Why don't you post a few lines from one of the old those, so we can see what we're dealing with.  I'm wondering if you really only have this month's files, in which case you wouldn't get the old data.  Or it's possible that you mean that you have the html for the report generated by AWStats, in which case there is nothing further which can be done with them.

Awstats is an open source product which has to be installed on the computer where you will run it.  You have to install Perl as well.  Then you create a configuration file for your specific web site's log files -- which I guess we'd have to infer from the old .txt files, if that's what you have.  I'm doubtful about it because ISPs usually do not provide those files -- just the html reports.
http://awstats.sourceforge.net/

Let's be sure what we have before you try to install and configure AWStats on your own machine.
This is a sample of the dowloaded log.

Let me know ?
awstats082011.namereplaced.com-h.txt
Great.  You're right, this is the AWStats .txt file which contains the info from which AWStats generates an HTML report.  It only has data for 08/2011 -- so does that count as old?  If you run the AWStats script to generate the HTML report, it will only report on Aug 2011.  If that's what you want, then we can continue.

If you are hoping to get older stats, then you need older files.

Ideally, your ISP will send you the Web site access logs for your site.

If they won't, then you could ask them if they could send you the old AWStats files.

If they don't keep those, then you're out of luck for past history.  However, you can start getting the information from now on by asking for the Web site access logs, or the AWStats .txt files, every month.

If your ISP will not provide those, then you can try collecting access stats from Javascript embedded in your pages.  Google Analytics is a common one:
http://www.google.com/analytics/
and, with somewhat less functionality, so is statcounter:
http://statcounter.com/
I have acces to all other txt moth file.

I just send an trouble ticket to my VirtualHotingServer VPS NetworkSolution.
I think they have a trouble with the AWSTATS on there VPS. I only see with the AWSTATS panel  the current month. I don't have the scrolling menu to choose the past mont.
I have this feature with NetworkSolution ShareHostingPackage.

I think your solution to install LOCAL on MY PC AWSTATS to read those TXT file is the soltion.
I only wondering it cause trouble to my computer speed and performance.

I will wait NetworkSolution responce before to continue with this.

I will let you know there anwser before to close this question. Are you OK with this?
Finally, my IP tell me I need to install a more recent version of AWSTATS on my VPS server.

I'm afraid to do it. (I have access with PLESK and VIRTUOOZO) and also full access by FTP to the ROOT.

What you think about that ?
ASKER CERTIFIED SOLUTION
Avatar of mrcoffee365
mrcoffee365
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This help explaine what to do. Now it up to me or my ISP to change the softwaire.
But: Take a backup of the .txt before to start anything.