How to analyze multiple logfiles?


 

Current User: Guest Login Register
Please consider registering

Search 
Search Forums:


 




How to analyze multiple logfiles?

Add a New Topic Reply to Post
UserPost

3:18 am
August 29, 2007


Hydra

Guest

I searched for this in awstats sourceforge forum and couldn't find any help, I hope I can get some from here. Here's my problem:

I have daily logs (with the same format) in a folder, let's say W3SVC1. The log file names are like "ex061022.log , ex061023.log , …" (exYYMMDD format).

Q1: I want to analyze all of these files for a yearly statistic.

Q2: I want to analyze these files for monthly statistics (12 different statistic pages).

Please can you tell me how to do these step by step? Forums are talking about some "resolvemerge.pl" that I think will be my answer but I couldn't find how to use it. They just say "Use resolvemerge to do that!" but how?

I appreciate any help, thanks in advance for answers. 

12:29 pm
August 29, 2007


Jean-Luc

Admin

posts 220

logresolvemerge.pl is a utility that reads and combines multiple log files into a unique (often very long) log file. It also includes a DNS lookup option to convert the visitors IP addresses into domain names at the same time.

In other words, for October 2006, logresolvemerge will read ex061001.log, ex061002.log, …, ex061029.log, ex061030.log and you will get one output file that contains all log data of October 2006.

The DOS command, with the DNS lookup option, would be (you might need to modify the paths):

perl logresolvemerge.pl -dnslookup ex0610*.log > all0610.log

From this point, you can run AWStats update for October 2006 using a regular awstats.pl update command.

Let me know if this is clear enough or if you wish more details.

Jean-Luc

8:21 pm
August 29, 2007


Hydra

Guest

As you told; I first combined my 30 days reports from a month to a single log file with logresolvemerge, then used that file to generate my monthly report. And it works!

Thanks for the help. You saved me from a lot of trouble Smile

Add a New Topic Reply to Post


Reply to Topic: How to analyze multiple logfiles?

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 11 + 2        (Required)

Topic Reply:


 

WebStats1


About the InternetOfficer.com forum

Currently Online:

2 Guests

Maximum Online: 20

Forums:

Groups: 2

Forums: 7

Topics: 104

Posts: 493

Members:

There are 26 members

There are 94 guests


Jean-Luc has made 220 posts

Top Posters:

Steve - 14

angelko - 4

cwei - 4

Kinglui - 3

vtroymck - 3

Administrator: Jean-Luc | Moderators: Jean-Luc


© Simple:Press Forum - Version 3.1.2 (Build 340)