• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1248
  • Last Modified:

Making sense of IIS Logs

I am trying to parse the IIS Log files to get some pertinent information about my ASP.NET application.  I am trying to get some performance data by looking at the time-taken field in the logs.  I can read these in and group them by page/query-string, etc. and get min, max, avg times for each page.  However, the data is being skewed by the inclusion of the ASP "postback" loads of pages, which tend to be very quick compared to the "real" load times for each page.  Does anyone have any idea how to distinguish between these "types" of page loads?  I cannot just include only GET's, because I have some pages that use POST.

I am using IIS 5.1 with .NET Framework 1.1.  I can change my logs to include any of the extended properties supported by IIS 5.
  • 2
1 Solution
tallguy22Author Commented:
Alternatively, if you can tell me how to get IIS to log POST variables of type hidden, that would solve the problem.  .NET uses hidden variables on a form to do these postbacks, so I can just look for that if I can figure out how to get it in my logs.
IIS will not log POSTed data - the W3SVC logs will never contain information from the body of the request unless you write your own logging provider.

You could try using LogParser and filter out any requests that take less than X milliseconds - www.logparser.com

Dave Dietz
tallguy22Author Commented:
Well, I'm trying to implement my own log parser/analyzer.  I was looking for a more "accurate" way of determining what is a postback.  Oh well.  I guess that makes sense from a security standpoint.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

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.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now