Current User: Guest Login
Please consider registering


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

How to analyze multiple logfiles?

Reply to Post Add a New Topic
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 1125

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

Reply to Post

Reply to Topic:
How to analyze multiple logfiles?

Guest Name (Required):

Guest Email (Required):

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

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
8 + 6
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
11 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 638
Posts: 2712

Membership:

There are 257 Members
There have been 305 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
deepakgupta – 34
albert_newton – 30
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: raju, todd2taylor, sbdcunha, mansigill1987, ThomasDuh, ThomasKic

Administrators: Jean-Luc (1125 Posts)

Moderators: Jean-Luc (1125 Posts)