Introduction

IIS-Generated Server Logs... is there no better way to past the time than looking through the HTTP_REFERRERS field and taking a look at who's linking to your page (and posting unsavoury comments about bandwidth-hogging image leeching?) Or how about seeing how many of your visitors are foolish enough to be using Internet Explorer still?

But alas! Whenever you leave the comfort of a workstation with FTP Client software are you not deprived of this enchanting pastime?

Fear no more, fair netizens! for there is now a solution! LogAnal can parse your web-server's logfiles even if you can't get to them! View your stats from ANYWHERE in the world!

Requirements

Its the usual fodder for this sort of script:

Installation Instructions

Instructions.txt is included in the Zip

  1. Open the ASP file
  2. Download or open an existing IIS logfile from the same server and ensure that strHeaders matches your currently selected logging fileds (if you don't the outputted table will look a right mess)
  3. Change the objFSO.OpenTextFile() path argument to match your server's logfiles directory
  4. Save the changes and upload to a directory in your htdocs or otherwise publically accessible folder
  5. You may want to password protect the folder to prevent other people from viewing your logs... for obvious reasons
  6. ...Also because if you access your hosting control panel from the same domain as your server, then your control panel login cookie, including plaintext username and password will be visible

Usage Instructions

  1. Navigate to the directory you placed the LogAnal script in
  2. I dunno... like http://www.yourdomain.tld/misc/loganal.asp
  3. Append the filename of the log, excluding file extension to the end of the URI you just typed in, preceeded by a ?
  4. Like so: http://www.yourdomain.tld/misc/loganal.asp?ex050115, will get the logfile ex050115.log, which is for 15th January 2005

Download

LogAnal.zip (1.94KB)

Help

Sorry, but you're on your own for this one. Thousands of people download these files (proven by this script itself, oh the irony), so I cannot provide support for everyone, just post it up on some forum, such as ASPFree and ask around