I'm trying to process Icecast2 log files with Awstats and I'm running into a problem which I believe may be related to an extra entry in the Icecast2 logfiles. If one compares an Apache CLF log entry such as the following: 199.125.245.200 - - [08/May/2006:12:26:00 -0600] "GET / HTTP/1.0" 200 53 "-" "-" to an Icecast2 log entry: 166.70.52.200 - - [08/May/2006:08:10:07 -0600] "GET /stream HTTP/1.1" 200 13623243 "-" "RMA/1.0 (compatible; RealMedia)" 3392 one finds an additional number tacked on to the end of the Icecast log entry. Can anybody tell me what that number represents? (In the example above, it's 3392.) Also, if anybody has pointers on Awstats+Icecast2, I'd love to hear them. TIA, -mp
Mike Place wrote:> If one compares an Apache CLF log entry such as the following: > > 199.125.245.200 - - [08/May/2006:12:26:00 -0600] "GET / HTTP/1.0" 200 53 > "-" "-" > > to an Icecast2 log entry: > > 166.70.52.200 - - [08/May/2006:08:10:07 -0600] "GET /stream HTTP/1.1" > 200 13623243 "-" "RMA/1.0 (compatible; RealMedia)" 3392 > > one finds an additional number tacked on to the end of the Icecast log > entry. > > Can anybody tell me what that number represents? (In the example above, > it's 3392.)It's the number of seconds that client was connected connected for. karl.
Mike Place wrote:> Also, if anybody has pointers on Awstats+Icecast2, I'd love to hear > them. >Hi Mike, I'm using icecast 2.3.1 w/ awstats 6.5 on a linux (fc5_x64) box and found it easy to set up using awstats documentation only. Actually I created a new awstats config (which you should copy from example in /etc/awstats/) called 'radio.config'; edit the file, change the path of log file to your icecast log file (usually lives in /var/log/icecast.log) and the type of log to 'stream'. after that step, run awstats from command line with your config file as parameter. this should give you clues if something is wrong in your config. now you may want to add a sub domain in your apache config to access awstats.pl (the CGI). if you run into troubles, i can send you excerpts of my config files. anyway, I don't know to what extent the awstats processing is accurate or compatible with icecast log file format, but it provides some basic, relevant info : how many users listen to stream, what are the peak times, players used, bandwith used, and mean listening time. cheers, oDDsKooL