# Getting Connection Counts from CDN

**URL:** <https://community.wowza.com/t/getting-connection-counts-from-cdn/40428>\
**Category:** Wowza Streaming Engine\
**Created:** [September 4, 2014, 11:15am UTC](https://community.wowza.com/t/getting-connection-counts-from-cdn/40428 "2014-09-04T11:15:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Justin\_McGee](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@Justin\_McGee](https://community.wowza.com/u/Justin_McGee)\
**Post date:** [September 4, 2014, 11:15am UTC](https://community.wowza.com/t/getting-connection-counts-from-cdn/40428/1 "2014-09-04T11:15:50Z")

</div>

I have a dedicated Server with Wowza Streaming Engine 4. I have signed up for CDN service with a provider. The CDN resource is a LIVE resource (Wowza 3, their control). The URL works as follows:

rtmp://cdn.mydomain.com/app/mystream

**CNAME FOR**

**rtmp://12345678.cdnprovider.com/12345678/app/mystream (‘/12345678’ is the LIVE app in their Wowza configuration)**

**WHICH POINTS TO**

**rtmp://stream.mydomain.com/app/mystream ([stream.mydomain.com](http://stream.mydomain.com) is proxied to [mydomain.com:1935](http://mydomain.com:1935))**

**The app and stream are dynamic. I can point the CDN to any app and stream name, and it works. No problem here.**

**When I run a test stream, I know that only the CDN servers are connecting to Origin (my dedicated Wowza box), because I can see in the stream manager that there are only two connections when I open four players at rtmp://cdn.mydomain.com/app/mystream (one CDN server connection, and one connection from FMLE). That is the good news.**

**What I want to accomplish is to be able to get the connection counts from the CDN. Please tell me that this is possible! Can Wowza go up the pipe and grab connection counts and IPs?**

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [September 4, 2014, 3:25pm UTC](https://community.wowza.com/t/getting-connection-counts-from-cdn/40428/2 "2014-09-04T15:25:34Z")

</div>

Hi there.

I am sorry, but there is nothing built-in to Wowza to get connection counts from a CDN.

However, if the CDN has an API that can be used to get that information, then with so custom development you could access it.

Salvadore

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [September 4, 2014, 4:10pm UTC](https://community.wowza.com/t/getting-connection-counts-from-cdn/40428/3 "2014-09-04T16:10:14Z")

</div>

I am sorry, I missed the detail about the CDN running Wowza.

Have you contacted the provider and inquired about this request? It may be that they can enable this tracking for you.

Salvadore

---

<div class="post-metadata">

**Author:** ![Justin\_McGee](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@Justin\_McGee](https://community.wowza.com/u/Justin_McGee)\
**Post date:** [September 4, 2014, 1:31pm UTC](https://community.wowza.com/t/getting-connection-counts-from-cdn/40428/4 "2014-09-04T13:31:47Z")

</div>

I did find this comment ([Monitoring "Edge Servers" Connections](http://community.wowza.com/t/-/43164)) where the user recommends to setup a Load Balancer. From what I understand, he is able to use it to get connections are on each server that is connected to his origin, without actually using it to Load Balance. What do you make of this? Is it possible? How would I go about setting this up?

---

<div class="post-metadata">

**Author:** ![Justin\_McGee](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@Justin\_McGee](https://community.wowza.com/u/Justin_McGee)\
**Post date:** [September 4, 2014, 2:12pm UTC](https://community.wowza.com/t/getting-connection-counts-from-cdn/40428/5 "2014-09-04T14:12:01Z")

</div>

I have (waiting). All connections need to be sent back to the origin server.
