Computing.Net > Forums > Web Development > reading IIS log files

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

reading IIS log files

Reply to Message Icon

Name: Shmanda
Date: November 25, 2005 at 13:55:37 Pacific
OS: WinXPPro
CPU/Ram: plenty
Comment:

Hi. I have a site hosted on IIS. My host provides .log files which I feed to Web Log Analyzer. Unfortunately it only tells me that there were a number of 404 errors, but doesn't mention what the page/item users were trying to access. Is this info even in a raw log file? I opened it up in Excel and didn't see anything like that. Thanks :)



Sponsored Link
Ads by Google

Response Number 1
Name: Dr. Nick
Date: November 27, 2005 at 15:25:50 Pacific
Reply:

The IIS log files should contain the results for all actions requested of the server along with their status. For example, a raw log with a single request that resulted in a 404 might look like this:

#Software: Microsoft Internet Information Services 5.1
#Version: 1.0
#Date: 2005-11-27 23:21:19
#Fields: time c-ip cs-method cs-uri-stem sc-status 
23:21:19 127.0.0.1 GET /missing_page.html 404

Note the bold line and the 404 status.

Perhaps they are logging differently. I use the W3C Extended log format (the default logging format for IIS). They might also not include the sc-status field (or equivalent) which shows the status (200 for OK or 404 for invalid resource).



0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: reading IIS log files

password site and export log file www.computing.net/answers/webdevel/password-site-and-export-log-file/1415.html

IIS6 log file processing www.computing.net/answers/webdevel/iis6-log-file-processing/1176.html

HTML Log File, Javascript? www.computing.net/answers/webdevel/html-log-file-javascript/373.html