locked
Logging IIS Server Variables RRS feed

  • Question

  • User-348271109 posted

    Hi,

    The page at http://www.iis.net/learn/extensions/advanced-logging-module/advanced-logging-for-iis-custom-logging states that you can log  IIS server variables with the Advanced Logging module. 

    However in the UI (in the Edit Logging Fields option) there is not category for server variables. I only have the following Source Types:

    • Built-In
    • Module
    • Performance Counter
    • Request Header

    I want to be able to capture the HTTP_HOST (which is not the same as the cs-host in standard logging).

    Thanks for any insights. 

    Monday, September 1, 2014 7:20 AM

All replies

  • User-348271109 posted

    Not sure how I missed it, but it was simply enough to add:

    1. "Edit Logging Fields" option for Advanced Logging
    2. Add Field
    3. Set Source Type "Server Variable", with the "Source name" set to the variable itself (and with a "friendly name" for the Field ID)

    There were no existing Server Variables captured by default hence why it was missing in the main list of fields as a category. 

    Tuesday, September 2, 2014 3:47 AM