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


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)


you can use software like: http://iismonitor.motobit.com/ or ethereal

  • do you use it ?
    – Kiquenet
    Sep 12 '18 at 8:07

To log custom headers you can use IIS Advanced Logging feature. A good article on it can be found at http://www.iis.net/learn/extensions/advanced-logging-module/advanced-logging-for-iis-custom-logging

  • 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

You can use failed request tracing in IIS to include status code 200. This would log successful requests too and you can view all request headers in the "request details" > "general request headers" section.


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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