IIS Advanced Logging - X-Forwarded-For

    Applies to:
  • Legacy SecureAuth IdP
Deployment model:
  • On Premises
  • Description:

    This article is to inform how to install a module and create a new logging option for an x-forwarded-for field.


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


      **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!
    0 out of 0 found this helpful



    Please sign in to leave a comment.