Can IIS 7.5 Advanced Logging files be used? http://www.iis.net/downloads/microsoft/advanced-logging

Avatar
  • updated
  • Answered
I have two webservers behind a load balancer. The load balancer is doing reverse NAT and all requests appear to come from single IP. THis is solved in IIS 7.5 by using Advanced logging and requesting "X-ClientIP" from the request header. But when I try to analyze these logs I get error the logs don't contain any information. When looking at these logs vs default IIS logging they are similar but some minor differences.
Avatar
Ricardo Londono
Thank You!
Avatar
Michael
You need to set the Advanced Logging module to use the same field header names as in the usual logging, you can find the list of this names at http://www.weblogexpert.com/help/wlex... ("IIS Log Format" section). E.g. you need to set the IP field to be named c-ip.

You can find information on changing the log header names at https://getsatisfaction.com/weblogexp...