connectioncount single stream

hi, is there a way to filter just one stream ( by streamname?) and so use connectioncount only for that stream?

Hello Hans,

You can use the addresses provided at the bottom of this article to retrieve per stream connection counts:

https://www.wowza.com/docs/how-to-get-connection-counts-for-server-applications-application-instances-and-streams-with-an-http-provider

This provider is built into Wowza media server software at com.wowza.wms.http.HTTPConnectionCountsXMLand can be accessed at:

http://[*wowza-ip-address*]:8086/connectioncounts
http://[*wowza-ip-address*]:8086/connectioncounts?flat

Be sure to add an admin user name and password to the [install-dir]/conf/admin.password file in order to access.

Regards,
Jason Hatchett
Wowza Support Engineer

Hi Jason,

This is not what i mean, this way show’s all connections. I will see just one…

regards hans

Hello Hans,

You may need to parse the xml output form the previous example, to get to the granular level you desire in the fastest possible manner.

If this option will not meet your needs then I would suggest reviewing the RESST-API:

https://www.wowza.com/docs/wowza-streaming-engine-rest-api

Specifically these calls:
https://www.wowza.com/docs/statistics-query-examples

If these are still not granular enough you can also review the outputs from the SNMP option:

https://www.wowza.com/docs/how-to-use-snmp-in-wowza-streaming-engine#snmpobjects

As I stated in the beginning of this reply, these are the faster options, another method is to use a log parser like Sawmill the day after (on the previous days logs):

https://www.wowza.com/docs/how-to-use-sawmill-to-analyze-wowza-media-server-logs

I do hope one of these options will meet your needs.

Regards,
Jason Hatchett
Wowza Support Engineer