In log file monitor you can use regular expressions.
Try to use regular expression: (fail)
Also you can test your expression using the tool in sitescope.
Hope it helps.
Thank you so much for the reply.
How can check if the "Fail" is in the last line of a log file? User does not want us to monitor for all the "Fail" in the log file, he need it only in the last line of a log file.
The logfile monitor has the option to read the latest entries, it means after the last monitor reading,
Go to monitor properties --> Log File Setting --> Check from Begging --> Set as 'Never'
That might work to avoid false alerts,
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.