# How to monitor per stream Bandwidth utilization using log file

**URL:** <https://community.wowza.com/t/how-to-monitor-per-stream-bandwidth-utilization-using-log-file/45652>\
**Category:** Wowza Streaming Engine\
**Created:** [July 23, 2015, 1:08am UTC](https://community.wowza.com/t/how-to-monitor-per-stream-bandwidth-utilization-using-log-file/45652 "2015-07-23T01:08:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gugan\_K](https://avatars.discourse-cdn.com/v4/letter/g/ecae2f/32.png) [@Gugan\_K](https://community.wowza.com/u/Gugan_K)\
**Post date:** [July 23, 2015, 1:08am UTC](https://community.wowza.com/t/how-to-monitor-per-stream-bandwidth-utilization-using-log-file/45652/1 "2015-07-23T01:08:33Z")

</div>

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](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

---

<div class="post-metadata">

**Author:** ![Paul\_Shields](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/paul_shields/32/390_2.png) [@Paul\_Shields](https://community.wowza.com/u/Paul_Shields)\
**Post date:** [July 23, 2015, 12:35pm UTC](https://community.wowza.com/t/how-to-monitor-per-stream-bandwidth-utilization-using-log-file/45652/2 "2015-07-23T12:35:25Z")

</div>

Hi,

You can see the log4j field definitions in the [user guide](https://www.wowza.com/resources/WowzaStreamingEngine_UsersGuide.pdf).

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

---

<div class="post-metadata">

**Author:** ![Gugan\_K](https://avatars.discourse-cdn.com/v4/letter/g/ecae2f/32.png) [@Gugan\_K](https://community.wowza.com/u/Gugan_K)\
**Post date:** [July 27, 2015, 12:17am UTC](https://community.wowza.com/t/how-to-monitor-per-stream-bandwidth-utilization-using-log-file/45652/3 "2015-07-27T00:17:24Z")

</div>

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](http://10.11.12.122:8086/connectioncounts) ] ?.

Thanks.

---

<div class="post-metadata">

**Author:** ![Gugan\_K](https://avatars.discourse-cdn.com/v4/letter/g/ecae2f/32.png) [@Gugan\_K](https://community.wowza.com/u/Gugan_K)\
**Post date:** [November 13, 2015, 4:55am UTC](https://community.wowza.com/t/how-to-monitor-per-stream-bandwidth-utilization-using-log-file/45652/4 "2015-11-13T04:55:39Z")

</div>

Anyone please suggest for my above query ?

---

<div class="post-metadata">

**Author:** ![Jean-Luc\_Halleux](https://avatars.discourse-cdn.com/v4/letter/j/c77e96/32.png) [@Jean-Luc\_Halleux](https://community.wowza.com/u/Jean-Luc_Halleux)\
**Post date:** [November 13, 2015, 2:29pm UTC](https://community.wowza.com/t/how-to-monitor-per-stream-bandwidth-utilization-using-log-file/45652/5 "2015-11-13T14:29:26Z")

</div>

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/](https://www.streamanalyst.com/free-account/) .

Jean-Luc
