Solved

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

Posted on 2011-09-29
11
581 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
11 Comments
 
LVL 27

Expert Comment

by:mrcoffee365
ID: 36818773
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
ID: 36891036
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 27

Expert Comment

by:mrcoffee365
ID: 36892413
>>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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

Author Comment

by:monro1964
ID: 36892514
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 27

Expert Comment

by:mrcoffee365
ID: 36892636
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
 

Author Comment

by:monro1964
ID: 36893736
This is a sample of the dowloaded log.

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

Expert Comment

by:mrcoffee365
ID: 36894172
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
ID: 36894593
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
ID: 36924440
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 27

Accepted Solution

by:
mrcoffee365 earned 500 total points
ID: 36925201
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
ID: 36925240
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

763 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