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

AWStats and loadbalanced IIS servers.

Reply to Post Add a New Topic

7:17 pm
October 10, 2007



I intend to install AWStats on its own server (never used it before!), and I want it to pull logs from load balanced webservers for one site.  Is it possible to pull these in?

I'm getting the inclination thats its to do this, but I'm not finding too many examples for a loadbalnaced scenario.

 Assume webserver names are WEB1 and WEB2, and the IIS Logs are in D:\\logs on both these webservers.  What would the logresolvemerge parameters actually be?

Is it feasible to use UNCs  e.g. \\\\web1\\d$\\logs\\*.log \\\\web2\\d$\\logs\\*.log  > combinedlogs.log




8:39 pm
October 10, 2007



posts 1125

Your logresolvemerge  command looks good to me.

I guess you have already seen how can I update my statistics when I use a load balancing system that splits my logs ? in AWStats FAQ.


5:59 am
November 5, 2007



Hi Paul

I had some problems getting Awstats to work on our load ballanced servers but I've almost cracked it.

Here's my logresolve line:

/website/applications/awstats-6.6/tools/ D:/LogFiles/W3SVC1269590722/*.log Z:/LogFiles/W3SVC1269590722/*.log  > /LogFiles/website-combined-logs/combinedlogs.log

I had to map the network drive (Z:) on the server that runs Awstats to the logfile folder on the second server. The D: is where the logfiles reside on the server that runs awstats.

The only problem I have now is that I have to manually paste the following at the top of the merged logfile (combinedlogs.log) in order for Awstats to process the log:

#Software: Microsoft Internet Information Services 6.0
#Version: 1.0
#Fields: date time cs-method cs-uri-stem cs-uri-query cs-username c-ip cs-version cs(User-Agent) cs(Referer) sc-status sc-bytes

Hope this helps



Reply to Post

Reply to Topic:
AWStats and loadbalanced IIS servers.

Guest Name (Required):

Guest Email (Required):

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

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

Guest URL (required)

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

About the Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
14 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 639
Posts: 2710


There are 257 Members
There have been 304 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)