Wowza Community

How to monitor per stream Bandwidth utilization using log file

Hi ,

Is there any possibility to monitor per stream Bandwidth utilization in Wowza using log file ?. I tried , but couldn’t identify which entry that need to used for monitor.

As cs-bytes shows huge amount of value like 1GB for single test stream request.

Log:

2015-07-20:2015-07-20 19:42:11 UTC play stream INFO 200 new - defaultVHost live definst 2.822 [any] 1935 rtmp://10.11.12.122:1935/live/ 10.11.12.13 rtmp https://test.exampl.com/video.swf LNX 15,0,0,189 1666713516 3614 3454 1 0 0 0 new - - - - - rtmp://10.11.12.122:1935/live//new rtmp://10.11.12.122:1935/live//new - rtmp://10.11.12.122:1935/live/ -

Thanks,

GK

Hi,

You can see the log4j field definitions in the user guide.

cs-bytes is a cumulative total transferred from client to server. You may find cs-stream-bytes useful - it’s the cumulative total number of bytes transferred from client to server for the stream referenced at x-stream-id.

Paul

I could see the value for cs-stream-bytes on stop action. From the log file, I split up the values to corresponding metric

cs-bytes --> 2014599101

sc-bytes --> 3817

x-stream-id --> 5306327

cs-stream-bytes --> 422606

sc-stream-bytes --> 0

x-sname --> 5268043

x-sname-query --> test

Here what is use of x-sname ?.

Is the x-stream-id unique ? . In what metric, this ID is generated ?. In what scenario, this value will help us .

Also, Is there any option to monitor per stream BW utilization via API Url Method [ like http://10.11.12.122:8086/connectioncounts ] ?.

Thanks.

Anyone please suggest for my above query ?

Hi kgmsan,

I am not 100% sure I fully understand your request. Anyway, we have a tool that reports the bandwidth per stream (among other things). You can try our free eval at https://www.streamanalyst.com/free-account/ .

Jean-Luc