Wowza Community

wowza access log


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.


  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)

  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' \

  1. We have this module as well.

-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:

or wsm panel

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