Solved

IIS 6 Load Balance - How to combine logs ?

Posted on 2007-12-04
4
1,625 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

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…
Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

762 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now