Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I get info from IIS Log

Status
Not open for further replies.

bookouri

IS-IT--Management
Feb 23, 2000
1,464
US
Ive tried a dozen different products to read me IIS 5 log files. I havnt been able to get even the expensive commercial products to actually work. I dont want anything major, just basic counting of visitors etc. I can easily import my log files into access but even distinct counts of visiting ip addresses gives me dozens of duplicate entries and I cant make much sense out of how many visitors I actually have. I also installed on another server, the IIS4 site express that comes with NT4 but it complained that my log files were "corrupted" so I assume that it cant read IIS 5 log files. Can anyone recommend any simple program to read IIS 5 logs without having to spend a week trying to configure something? Any suggestions would be appreciated..

 
If you are strugling to get any commercial package to read IIS5 log files it may be that the log files are in some way corrupted - although I can't say I've encountered this before.

Just to make sure try opening one of the log files with notepad and see if you can actually read it. If not then tell IIS to store the log files in a different place. IIS will automatically start recording a new log file which should be OK.

Check to see what format log file you are recording - you have the option of: -

* NCSA format (simple log files)
* IIS log file format (a bit more information)
* W3C extended log file format (you can customize the information that is stored)
* ODBC logging (write directly to a database)

For simple hit stats choose NCSA format - all web stats packages should be able to analyse this for you.
 
I can open the log files with notepad and they are fine. I set IIS to use the w3c extended format, Ill try switching over to ncsa format, and Ill check the utility mentioned above... maybe it has something to do with the w3c format.

thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top