Wowza Community

Bash Script or Command for debugging wowzastreamingengine_access.log

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.

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

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

  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

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 '

1 Like