Solved

IIS 6 Load Balance - How to combine logs ?

Posted on 2007-12-04
4
1,644 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
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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

Title # Comments Views Activity
IIS Question 8 66
Output Caching in IIS 2 38
Utilizing IIS Log files to move downloaded files off of web server 2 36
IIS on Server 2012 R2 Datacenter 5 56
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…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

830 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