For the complete documentation index, see llms.txt. This page is also available as Markdown.

Add X-Forwarded for column in IIS

Follow the steps below to add X-Forwarded-For column into IIS 8.5 logs:

  1. Open IIS Manager.

  2. On server, site or application level, double click Logging.

  3. Click Select Fields.

  4. In W3C Logging Fields window, click Add Field.

  5. In the Add Custom Field window, fill out the following fields:

    • Field Name: X-Forwarded-For

    • Source type: Request Header

    • Source: X-Forwarded-For

  6. Click OK in both open windows.

  7. Click Apply in the actions pane.

Wait for a new log file to be created in the logs folder. Column changes will be effective when a new log file is created.

Command Line

Last updated

Was this helpful?