S
sarah g
Guest
Hello all
I have a script which monitors a log file for a web server...
So i want this script to watch the behavior of the requests in the log file if something wrong happened it would send me an alert..
for example:
if the request isn't ascii i will get an alert..
how to do this without using if statement too much..
i know i have to use rules .. but where to put these rules? and how to match with them?
I have a script which monitors a log file for a web server...
So i want this script to watch the behavior of the requests in the log file if something wrong happened it would send me an alert..
for example:
if the request isn't ascii i will get an alert..
how to do this without using if statement too much..
i know i have to use rules .. but where to put these rules? and how to match with them?