How to analyse QTSS and MP3 log files ... and other boring anecdotes.
This is a techy entry just so I can refer to it in the future, or may save some other soul the time of wondering.
Darwin Streaming Server/QuickTime Streaming Server produces a variety of log files, generally in /var/streaming/logs or /var/log/streaming ... the two I was interested in were StreamingServer.log and mp3_acccess.log
StreamingServer.log contains requests to the main streaming server. You can analyse these logs in AwStats (I'm using version 6.6 build (build 1.887) with the following configuration parameters in your AwStats.*.conf (along with everything else you want as per the AwStats documentation)
LogType=S
LogFormat=2
mp3_access.log contains requests to any mp3 playlists or live streaming. You need the following configuration:
LogType=S
LogFormat="%host %uaquot %time1 %methodurl %code %bytesd %extraX"
and that pretty much does it. I need to work out some way of better using these logs to find out length of stay (that %extraX field is the duration of MP3 played in seconds)
This is all pretty easy to work out, but if you like the lazyweb this might help.
update
To stop Darwing Streaming Server from rotating the log files I've set the rotate on log-size and log-age parameters to 0, and it seems to work. Now I just need to work out a better way of rotating the logs in sync with creating the stats.
