Added support to Icecast2 HTTP logs format. NCSA_EXTENDED + SessionTime
*SessionTime is expresed on seconds
I have request this feature a few months ago into this ticket:
Now after some research I have integrated the change, will be great if can merge this into the official release.
I have tested with one logs file with more than
501600 lines parsed, 499714 lines recorded, 213 records/sec (avg), 378 records/sec (current)
Here one screenshot how the stats widget look, after process this log file:
Shouldn't we add some tests for that, too?
Yes that would be a nice bonus, but sometimes it feels good to merge & forget about it :8ball:
@cdgraff could you please send over some logs for this format? we will add the tests finally!
hi @mattab, here some lines https://gist.github.com/cdgraff/c0cd1ab6f2590ddfc00f let me know if need more...