Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

IIS 6 Load Balance - How to combine logs ?

Posted on 2007-12-04
4
Medium Priority
?
1,690 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 2000 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses
Course of the Month13 days, 9 hours left to enroll

963 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