# Bash Script or Command for debugging wowzastreamingengine\_access.log

**URL:** <https://community.wowza.com/t/bash-script-or-command-for-debugging-wowzastreamingengine-access-log/95373>\
**Category:** Wowza Streaming Engine\
**Created:** [September 9, 2022, 10:08am UTC](https://community.wowza.com/t/bash-script-or-command-for-debugging-wowzastreamingengine-access-log/95373 "2022-09-09T10:08:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dan\_Donald](https://avatars.discourse-cdn.com/v4/letter/d/96bed5/32.png) [@Dan\_Donald](https://community.wowza.com/u/Dan_Donald)\
**Post date:** [September 9, 2022, 10:08am UTC](https://community.wowza.com/t/bash-script-or-command-for-debugging-wowzastreamingengine-access-log/95373/1 "2022-09-09T10:08:00Z")

</div>

Hi,  
is there any bash script or useful commands to debug / search better in wowzastreamingengine\_access.log and filter out everything which is not that relevant? I often search that log and try to find Problems which explains, why a livestream not worked anymore, etc.

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [September 9, 2022, 3:05pm UTC](https://community.wowza.com/t/bash-script-or-command-for-debugging-wowzastreamingengine-access-log/95373/2 "2022-09-09T15:05:14Z")

</div>

Good question! Let me search and see if we have some way of filtering log messages. Be back soon

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [September 9, 2022, 3:54pm UTC](https://community.wowza.com/t/bash-script-or-command-for-debugging-wowzastreamingengine-access-log/95373/3 "2022-09-09T15:54:49Z")

</div>

In addition to the option to filter log messages in the Engine UI as shown below, I will share a second option with you as well:

1. **In the Engine UI** , click [HERE](https://www.wowza.com/docs/how-to-view-log-messages-in-wowza-streaming-engine-manager)

 ![Screen Shot 2022-09-09 at 9.12.53 AM](https://us1.discourse-cdn.com/flex002/uploads/wowza1/original/2X/0/05cb1adcf8684eb004ad10b11c698950171a6064.jpeg)

 ![Screen Shot 2022-09-09 at 9.07.56 AM](https://us1.discourse-cdn.com/flex002/uploads/wowza1/original/2X/3/32f8bb472461173900684b50e1fba6b7890dc805.png)  
  

1. **Download the logs from Engine**

Use a text editor to filter out your search based on the error and warning fields shown in the UI screenshot above.  
Lots of articles and tools will help you run a filtered search but I just don’t have a Wowza article that shows this, but you can find out how

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [September 9, 2022, 5:14pm UTC](https://community.wowza.com/t/bash-script-or-command-for-debugging-wowzastreamingengine-access-log/95373/4 "2022-09-09T17:14:17Z")

</div>

generic bash example as requested by customer:  
`cat wowzastreamingengine_access.log | grep ` `foo`  
or more advanced,OR grep

`cat wowzastreamingengine_access.log | egrep '` `foo|bar'` AND grep  
`cat wowzastreamingengine_access.log|grep -E '` `foo` `' | grep -E '` `bar` `'`
