Wowza Community

wowza access log

Hi

I want to impelent wowza statistics based on Wowza access log. What event should I use when I want to exact number of total number of connections? (create, play, connect).

Also I would like to know exact time of stream duration. What event specifies time when user started to watch and closed the stream.

Thanks

  1. You can view statistical data for connections with the following built-in HTTP providers (found in /conf/VHost.xml in a web browser:

HTTPConnectionCountsXML - (com.wowza.wms.http.HTTPConnectionCountsXML)

https://www.wowza.com/docs/how-to-monitor-server-connections-load-and-application-statistics#built-inHTTPProviders

  1. To see when viewers started to watch and then stopped, you could easily add a timestamp to the start & stop method to get the duration.

You can also include start and end time parameters in your query to return historical statistics only for that time range. Specify the start and end times in the format start=yyyy-mm-ddThh:mm:ss. For example, 2015-11-01T15:00:00. The following example query uses the start and end parameters:

curl -X GET \
-H 'Accept:application/json; charset=utf-8' \
-H 'Content-Type:application/json; charset=utf-8' \
"http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/monitoring/historic?start=2015-11-01T15:00:00&end=2015-11-01T15:01:00"

https://www.wowza.com/docs/statistics-query-examples#historicalstats

  1. We have this module as well.

https://www.wowza.com/docs/how-to-log-play-statistics-on-a-timer

-it’s playback stats from the start of playback till it ends

Otherwise, the stats are available in the rare log data and you can use sawmill to analyze the data:

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

or wsm panel

https://wmspanel.com/wowza

That’s a lot of info, but I hope it helps you find the right solution for your workflow.