Solved

IIS 6 Load Balance - How to combine logs ?

Posted on 2007-12-04
4
1,657 Views
Last Modified: 2008-09-17
Hello Experts...

I have a IIS Load Balance Farm with 2 Servers. 3.000 Sites in cluster.

Whats the best way to get Visit Stats for both servers in one location ?

In other words i need to generate html reports in one location with the combined logs.

Any clues ?
0
Comment
Question by:tullioc
[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
4 Comments
 
LVL 11

Accepted Solution

by:
Sven earned 500 total points
ID: 20403331
We are using AWStats to analyze and merge our logfiles:
http://awstats.sourceforge.net/

You habe to copy all logs to one directory (rename them if you have equal named files on each server) and the run AWStats with merge enabled in configuration:

FAQ-COM400 : HOW CAN I UPDATE MY STATISTICS WHEN I USE A LOAD BALANCING SYSTEM THAT SPLITS MY LOGS ?

PROBLEM:
How can I update my statistics when i use a load balancing system that split my logs ?

SOLUTION:
First solution is to merge all split log files resulted from all your load balanced servers into one. For this, you can use the logresolvemerge tool provided with AWStats :
logresolvemerge.pl file1.log file2.log ... filen.log > newfiletoprocess.log
And setup the LogFile parameter in your config file to process the newfiletoprocess.log file or use the -LogFile command line option to overwrite LogFile value.

As an other solution, if you miss disk space, or to save time, you can ask logresolvemerge to merge log files on the fly during the AWStats update process. For this, you can use the following syntax in your AWStats config file:
LogFile="/pathto/logresolvemerge.pl file*.log |"
0
 

Author Comment

by:tullioc
ID: 20403368
Helo DarthSonic...

Good hint, but i think that it will be very dificult due to a lot o Websites.

I was thinking about a log analizer that can use two log sources, one UCN and one Local.

Regards
Tullio
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

739 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