Need help with a watch

Hi, I am trying to create a watch script that alerts me once when I get > 100 http response 404 status codes in my logs during a 5 minute timeframe.

At the moment my script looks like this:

The problem is that at the moment it alerts me every time the watch sees a 400 response code in a log event. Can someone help me, thank you? :smile: