Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Identify IIS 7.5 sessions and logging

Posted on 2014-03-25
Medium Priority
Last Modified: 2014-04-21
We have two Windows Server 2008 R2 using IIS

I want to identify:-

If IIS is functioning correctly on both servers, so how to identity web user sessions, report any problems/issues.  ?

What IIS monitoring can I use.  ?

What IIS counters are available and which ones are the best to show results on ?
Question by:rakkad
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 59

Expert Comment

by:Cliff Galiher
ID: 39954612
First, you should understand that IIS is a web server first and foremost. I realize it sounds like I'm stating the obvious, but it is important because you mentioned tracking user sessions and HTTP does not have such a concept. Any notion of a persistent session happens at a higher level in web application and is tracked by some other method, such as a cookie to give the *appearance* of persistence.

Thus native IIS logs won't provide much by the way of session tracking. There are log parsers that will use things like browser version and requesting IP to attempt to gather a session (and there are plenty of log parsers out there, google is your friend) but if you really want to track a session, you need some sort of higher-level code on your web pages. This is why deep analytics packages like Google Analytics actually require you to cut and paste code into each page or into the page template in the case of a CMS.

Author Comment

ID: 39954619
So what areas do you recommend to:-

1 Monitoring IIS (ensure both web servers are working)
2. IIS counters to use
3. What areas to look at if web server isn't functioning correctly, even though it appears to be and running

LVL 59

Expert Comment

by:Cliff Galiher
ID: 39954635
1) I recommend using a hosted monitoring solution. It will not only check for uptime, but you can configure it to monitor multiple URLs, so if you have something like a blog that runs on wordpress, but a storefront powered by a different package, you can monitor both. They can also be configured to look for specific content so if a page is misbehaving and returning partial content or a custom error page, you'll still know. It is a monthly charge, but they tend to be easier to set up that custom monitoring solutions which require dedicating a separate server to the task and some scripting knowledge.

2) Usually none. I'll use an analytics package to track normal web traffic, such as Mint or Google Analytics. I'll only turn on and look at IIS counters if I suspect a problem and need specific counters for troubleshooting purposes, like memory usage or tansaction times.

3) That is a very broad question and therefore not really answerable. A thing can fail a thousand ways and not all are monitorable. Most of the time your car will tell you something is wrong with a "check engine" light. But sometimes it'll seize with no warning. And what can cause a check engine light? If you've ever looked at service and diagnostic manuals, there are many many multitudes of possibilities, from the almost benign to the imminent failure. It just can't be narrowed down.
LVL 83

Accepted Solution

David Johnson, CD, MVP earned 1500 total points
ID: 39954740
you may want to turn on failed request tracking and use the standard w3c log files that your iis server can accumulate for you.  There are many log analyzers out there to choose from.  It comes down to personal preferences to which is better than the other.  You could tie the web server into an email campaign.. Except for google users the 1x1 pixel image tracking used to work quite well as each image had a unique name and you could parse the iis logs easily and mine it for information.. Google actually grabs each image and hides it from this approach as the results will say EVERYONE with a gmail address opened the message when in fact just google did upon receipt of the email.  It could have gone right to the spam folder.

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

650 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