Solved

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

Posted on 2011-09-29
11
544 Views
Last Modified: 2012-05-12
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

0
Comment
Question by:monro1964
  • 6
  • 5
11 Comments
 
LVL 26

Expert Comment

by:mrcoffee365
Comment Utility
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.
0
 

Author Comment

by:monro1964
Comment Utility
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
0
 
LVL 26

Expert Comment

by:mrcoffee365
Comment Utility
>>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.
0
 

Author Comment

by:monro1964
Comment Utility
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 ?
0
 
LVL 26

Expert Comment

by:mrcoffee365
Comment Utility
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.
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:monro1964
Comment Utility
This is a sample of the dowloaded log.

Let me know ?
awstats082011.namereplaced.com-h.txt
0
 
LVL 26

Expert Comment

by:mrcoffee365
Comment Utility
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/
0
 

Author Comment

by:monro1964
Comment Utility
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?
0
 

Author Comment

by:monro1964
Comment Utility
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 ?
0
 
LVL 26

Accepted Solution

by:
mrcoffee365 earned 500 total points
Comment Utility
Get all the old AWstats .txt files and keep them on your local computer.

I can't imagine why it would be a problem for your ISP to update your copy of AWStats.  
0
 

Author Closing Comment

by:monro1964
Comment Utility
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.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

The task of choosing a web design company to build a website for your business should never be taken in a light manner. Provided the fact that your website will act as a representative to your business and will be responsible for imposing an online …
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now