# Wowza logs for sawmill

**URL:** <https://community.wowza.com/t/wowza-logs-for-sawmill/315>\
**Category:** Wowza Streaming Engine\
**Created:** [December 7, 2011, 8:22pm UTC](https://community.wowza.com/t/wowza-logs-for-sawmill/315 "2011-12-07T20:22:14Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)\
**Post date:** [December 7, 2011, 8:22pm UTC](https://community.wowza.com/t/wowza-logs-for-sawmill/315/1 "2011-12-07T20:22:14Z")

</div>

Hello,

I just installed wowza 3.0.3. We are using sawmill to harvest wowza logs for reporting. And we have many clients that use our service. Therefore, we had been using corresponding applications in wowza server. For sawmill, we use x-app to differentiate between different applications. But on this link [https://www.wowza.com/docs/how-to-use-sawmill-to-analyze-wowza-media-server-logs](https://www.wowza.com/docs/how-to-use-sawmill-to-analyze-wowza-media-server-logs) it tells us to use stats file instead. I am using access file because it has x-app field on it.

Please advise on best course.

Thanks,

Ashish

---

<div class="post-metadata">

**Author:** ![Ashish\_Ghimire](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@Ashish\_Ghimire](https://community.wowza.com/u/Ashish_Ghimire)\
**Post date:** [December 7, 2011, 8:36pm UTC](https://community.wowza.com/t/wowza-logs-for-sawmill/315/2 "2011-12-07T20:36:37Z")

</div>

Is there a way to add x-app field in the stats log. Can I just add the field in a line in log4j.properties:

In Statistics appender can I just change the following line:

log4j.appender.serverStats.layout.Fields=x-severity,x-category,x-event;date,time,c-client-id,c-ip,c-port,cs-bytes,sc-bytes,x-duration,x-sname,x-stream-id,x-spos,sc-stream-bytes,cs-stream-bytes,x-file-size,x-file-length,x-ctx,x-comment

TO

log4j.appender.serverStats.layout.Fields=x-app,x-severity,x-category,x-event;date,time,c-client-id,c-ip,c-port,cs-bytes,sc-bytes,x-duration,x-sname,x-stream-id,x-spos,sc-stream-bytes,cs-stream-bytes,x-file-size,x-file-length,x-ctx,x-comment

?

---

<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 7, 2011, 8:44pm UTC](https://community.wowza.com/t/wowza-logs-for-sawmill/315/3 "2011-12-07T20:44:33Z")

</div>

Yes, just add fields as required then restart Wowza

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 7, 2011, 10:02pm UTC](https://community.wowza.com/t/wowza-logs-for-sawmill/315/4 "2011-12-07T22:02:54Z")

</div>

You added to serverStats appender, are you using serverAccess appender?

Richard

---

<div class="post-metadata">

**Author:** ![Ashish\_Ghimire](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@Ashish\_Ghimire](https://community.wowza.com/u/Ashish_Ghimire)\
**Post date:** [December 7, 2011, 9:50pm UTC](https://community.wowza.com/t/wowza-logs-for-sawmill/315/5 "2011-12-07T21:50:46Z")

</div>

Thanks Richard. The Application field is not visible in sawmill. I added x-app in log4j.properties and restarted wowza 3. Is there anything that I should be doing regarding this?

---

<div class="post-metadata">

**Author:** ![Ashish\_Ghimire](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@Ashish\_Ghimire](https://community.wowza.com/u/Ashish_Ghimire)\
**Post date:** [December 7, 2011, 10:23pm UTC](https://community.wowza.com/t/wowza-logs-for-sawmill/315/6 "2011-12-07T22:23:28Z")

</div>

I am trying to use serverStats appender. My Sawmill version is 8.1.5. I had been using serverAccess apender before. But I think this could be sawmill related issue. They have 8.5.1 version out. What do you think?

Ashish

---

<div class="post-metadata">

**Author:** ![Ashish\_Ghimire](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@Ashish\_Ghimire](https://community.wowza.com/u/Ashish_Ghimire)\
**Post date:** [December 8, 2011, 3:22pm UTC](https://community.wowza.com/t/wowza-logs-for-sawmill/315/7 "2011-12-08T15:22:03Z")

</div>

when I used the access log, I could see the Application field in Sawmill. But I did not see the Application field when I used Statistics log even though the statistics log has x-app field written in the logs.I could keep on using the Access log but in wowza website, it was mentioned that statistics be used for sawmill: [https://www.wowza.com/docs/how-to-use-sawmill-to-analyze-wowza-media-server-logs](https://www.wowza.com/docs/how-to-use-sawmill-to-analyze-wowza-media-server-logs)

Please advise.

---

<div class="post-metadata">

**Author:** ![Sebastien\_Faure](https://avatars.discourse-cdn.com/v4/letter/s/9f8e36/32.png) [@Sebastien\_Faure](https://community.wowza.com/u/Sebastien_Faure)\
**Post date:** [January 21, 2012, 3:36pm UTC](https://community.wowza.com/t/wowza-logs-for-sawmill/315/8 "2012-01-21T15:36:24Z")

</div>

Yury, just sent you an email for more information…

Regards.

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [December 8, 2011, 4:06pm UTC](https://community.wowza.com/t/wowza-logs-for-sawmill/315/9 "2011-12-08T16:06:59Z")

</div>

Hi

If the access log gives you all the information you need for Sawmill to work then keep using the access log.

Jason

---

<div class="post-metadata">

**Author:** ![Yury\_Udovichenko](https://avatars.discourse-cdn.com/v4/letter/y/b5e925/32.png) [@Yury\_Udovichenko](https://community.wowza.com/u/Yury_Udovichenko)\
**Post date:** [December 14, 2011, 12:53pm UTC](https://community.wowza.com/t/wowza-logs-for-sawmill/315/10 "2011-12-14T12:53:22Z")

</div>

Hi,

You can also trying different approach. You can use [WMSPanel](https://wmspanel.com/) to have centralized reports solution that does not use logs processing.

It’s just a Wowza agent which sends required stats to a web-server where a company representatives may see their reports. You can try it and see if it solves your problems.
