Knowledge Base

Support Policies

IIS Advanced Logging - X-MS-Forwarded-Client-IP

 

Description:

This article is to inform how to install a module and create a new logging option for an x-ms-forwarded-client-ip, which is a Microsoft version of the x-forwarded-for field.

Resolution: 

  1. First, please download the module from the Microsoft website provided below and install it.

    https://www.microsoft.com/en-us/download/details.aspx?id=7211

    **NOTE** It does not require a reboot for the function to work, but you will need to reset IIS once you have created the respective logging categories.

  2. Go into IIS once you have rebooted, and you will see a new icon labeled "Advanced Logging".  Double click on this to open this up.


  3. On the right side panel, please enable advanced logging.
  4. After it's enabled, please click "edit logging fields".


  5. From here, go ahead and "add field".


  6. Fill out the new logging field respectively.


  7. Now we're going to create a new logging event.


  8. To create a new log, you can add whichever other fields you wish to have, but make sure you add our new logging field by clicking "select fields".


  9. Select the new logging field we created.


  10. Once you're done, you will need to reset IIS in order for this new log event to kick into effect!  Happy logging!

 

 

 

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.