Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to monitor HTTP request headers. Does IIS log this information somewhere?

share|improve this question

migrated from Nov 23 '09 at 14:05

This question came from our site for professional and enthusiast programmers.

up vote 4 down vote accepted

IIS can log few HTTP headers; including Referer, Cookie and User-agent; but not all. If you want to log any of these variables, you'll have to set them up from IIS manager (Web Site Properties > Web Site Tab > Enable Logging > Properties)

share|improve this answer

you can use software like: or ethereal

share|improve this answer

I would reccomend using Wireshark. It is an excellent tool and the more familiar you are with it the more uses you will find for it.

Also, because HTTP headers are sometimes broken into multiple TCP segments you might have to enable "Reassemble HTTP headers spanning multiple TCP segments".

Hope that helps.

share|improve this answer

To log custom headers you can use IIS Advanced Logging feature. A good article on it can be found at

share|improve this answer
Adding detail from the link would improve this answer. Links break and that renders the answer less useful – Dave M Apr 20 '15 at 12:34
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. – Jenny D Apr 20 '15 at 12:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.