Windows Media Services Stats

What good is it to run a service if you don’t know how much it’s being used? I’m all about making my workstation earn its keep. I’m running Windows XP Pro (Volume License). I like Apache, I like AWStats, and AWStats will handle streaming media server logs!

Xampp (Awesome-ness for installing a webserver on a windows workstation)
http://www.apachefriends.org/en/xampp-windows.html

Xampp + AWStats
http://www.apachefriends.org/f/viewtopic.php?p=39563

AWStats + Media Services
http://awstats.sourceforge.net/docs/awstats_faq.html#MEDIASERVER

Scheduled tasks does the interesting things here…. It runs under my credentials, I have it run multiple times per day, copy the log files from the media server (which my username has administrative rights to, but isn’t required if the log folder is shared) and update AWStats.

logupdate.bat
copy /y mediaserverc$WINDOWSsystem32LogFilesWMSMountPoint*.log C:wms
C:xamppperlbinperl.exe C:xamppcgi-binawstatsawstats.pl -config=mediaconfigname -update > C:awstatsmediaupdatelog.txt

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: