# Log Data Usage for each Application

**URL:** <https://community.wowza.com/t/log-data-usage-for-each-application/33793>\
**Category:** Wowza Streaming Engine\
**Tags:** server-administration\
**Created:** [February 25, 2016, 6:12pm UTC](https://community.wowza.com/t/log-data-usage-for-each-application/33793 "2016-02-25T18:12:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scott\_Gorman](https://avatars.discourse-cdn.com/v4/letter/s/f4b2a3/32.png) [@Scott\_Gorman](https://community.wowza.com/u/Scott_Gorman)\
**Post date:** [February 25, 2016, 6:12pm UTC](https://community.wowza.com/t/log-data-usage-for-each-application/33793/1 "2016-02-25T18:12:39Z")

</div>

We have Wowza 4.0.3.01 running on AWS AMI. With the number of applications growing, we are looking to log the amount of data each application uses on a monthly basis.

Can anyone recommend a low cost solution to perform this task?

Thanks in advance

Frank.

---

<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:** [February 26, 2016, 8:30am UTC](https://community.wowza.com/t/log-data-usage-for-each-application/33793/2 "2016-02-26T08:30:24Z")

</div>

Log rows with x-event “destroy” have cumulative sc-bytes (server to client bytes) and x-duration, etc. for a session.

There is a way to [log directly to a database](https://www.wowza.com/docs/how-to-log-to-a-mysql-database), but it can be problematic (fail), so it is better to parse the log files after. If you need access to files more quickly you can use the [TimeAndSizeRollingAppender](https://www.wowza.com/docs/how-to-configure-log-rolling-by-time-and-size)

Regards,

Salvadore
