« Previous Next »

Thread: W3C Fields to log in IIS

Last post 10-01-2009 3:31 AM by Leo Tang - MSFT. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 09-25-2009, 3:57 PM

    • Noorish
    • Not Ranked
    • Joined on 09-25-2009, 7:18 PM
    • Posts 2

    W3C Fields to log in IIS

    Hello All,

     I would like to enable logging of the below fields in IIS for all incoming requests from clients:


    - Computer Name (Not enabled by default using the "cs-host" field)
    - IP Address (Enabled by default using the "c-ip" field)

     I have enabled logging of the computer name but it's not showing in the logs, am I forggeting something?

    Also, is there away to log these information without the use of IIS? (maybe using a tool)

  • 09-26-2009, 4:13 AM In reply to

    • Noorish
    • Not Ranked
    • Joined on 09-25-2009, 7:18 PM
    • Posts 2

    Re: W3C Fields to log in IIS

    I just realized something...

    For the Computer Name, IIS is logging the FQDN of the site the users are using, not the actually name of the computers the usrs are using.

    help?

  • 10-01-2009, 3:31 AM In reply to

    Re: W3C Fields to log in IIS

    Hi,

    Yes, the cs-host is not the computer name but the host name. Since the request header does not include the name of the client, it is impossible for IIS or other tool log the client's name. You can run Fiddler to verify this.

    Leo Tang
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Page 1 of 1 (3 items)
Microsoft Communities