home dorian moore : (digital media) technologist

  • works Darwin Streaming Server and AwStats. [2007.02.22]

    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.

    Tags : awstats darwin streaming server, logs, qtss, streaming,
    Posted by Dorian Moore on Thursday, February 22, 2007 at 17:44 GMT
    Last modified Tuesday, February 27, 2007 at 14:03 GMT

  • home home
  • page me
  • page page page page page page words
  • page page images
  • page page page page listening
  • page sounds
  • page radio
  • page page page page page page page works
  • page page page page likes
  • page page page page page page page page links
  • page mobile
  • page interfaces
  • page contact

    email

    telephone
    +44 (0)7976 242 805

    post
    Dorian Moore,
    Flat 2, Radnor Villas,
    45b King Henry's Walk,
    London,
    N1 4HQ.
    United Kingdom.

    ichat
    ichat://mtrapr

    aol instant messenger
    aim://mtrapr

    skype
    skype://dorianmoore