# Access logs for HLS?

**URL:** <https://community.wowza.com/t/access-logs-for-hls/38468>\
**Category:** Wowza Streaming Engine\
**Created:** [December 27, 2012, 10:49am UTC](https://community.wowza.com/t/access-logs-for-hls/38468 "2012-12-27T10:49:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_Osborne](https://avatars.discourse-cdn.com/v4/letter/b/ecb155/32.png) [@Brian\_Osborne](https://community.wowza.com/u/Brian_Osborne)\
**Post date:** [December 27, 2012, 10:49am UTC](https://community.wowza.com/t/access-logs-for-hls/38468/1 "2012-12-27T10:49:46Z")

</div>

I’m looking for a way to calculate the daily bandwidth usage for a wowza server. I was hoping I could use some raw access logs, but the access logs in wowzamediaserver\_access.log don’t include bandwidth information for HLS.

Is this something where I need to extend Wowza with a Java module?

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [December 27, 2012, 4:05pm UTC](https://community.wowza.com/t/access-logs-for-hls/38468/2 "2012-12-27T16:05:01Z")

</div>

You can get cumulative bandwidth average from:

sc-bytes \* 8 / x-duration = bps

Log rows with x-event “destroy” and x-category “cupertino” have HLS session totals.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [December 27, 2012, 6:38pm UTC](https://community.wowza.com/t/access-logs-for-hls/38468/3 "2012-12-27T18:38:34Z")

</div>

I get destroy events for cupertino in my test, but the disconnect should have the same sc-bytes and x-duration.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [February 13, 2013, 4:21pm UTC](https://community.wowza.com/t/access-logs-for-hls/38468/4 "2013-02-13T16:21:31Z")

</div>

I’m not sure that Wowza logs every .ts chunk every playback client requests. You could use IHTTPStreamerCupertinoVODActionNotify2 or IHTTPStreamerCupertinoLivePacketizerDataHandler to look at every packet:

[https://www.wowza.com/docs/how-to-convert-ontextdata-events-in-a-live-or-vod-stream-to-timed-events-id3-tags-in-an-apple-hls-stream](https://www.wowza.com/docs/how-to-convert-ontextdata-events-in-a-live-or-vod-stream-to-timed-events-id3-tags-in-an-apple-hls-stream)

Richard

---

<div class="post-metadata">

**Author:** ![Brian\_Osborne](https://avatars.discourse-cdn.com/v4/letter/b/ecb155/32.png) [@Brian\_Osborne](https://community.wowza.com/u/Brian_Osborne)\
**Post date:** [December 27, 2012, 1:03pm UTC](https://community.wowza.com/t/access-logs-for-hls/38468/5 "2012-12-27T13:03:03Z")

</div>

There don’t seem to be any log lines that have both ‘destroy’ and ‘cupertino’

All of the destroys I see are associated with the category “stream”. For the category “cupertino” there only seem to be events “connect” and “disconnect”. Maybe that’s what you meant?

---

<div class="post-metadata">

**Author:** ![Brian\_Osborne](https://avatars.discourse-cdn.com/v4/letter/b/ecb155/32.png) [@Brian\_Osborne](https://community.wowza.com/u/Brian_Osborne)\
**Post date:** [February 13, 2013, 11:14am UTC](https://community.wowza.com/t/access-logs-for-hls/38468/6 "2013-02-13T11:14:24Z")

</div>

Is there any way to view raw access logs? Similar to how apache would show requests for every file. For instance, I’d like to see the requests made for individual .TS chunks in an HLS stream.
