I'm using vbscripts to monitor log files for a particular string and to email alert (perform some action) when the string is found. My question is, is it possible to attach the affected log file to the email alert, or particular parts of the log file to the email alert? I'm suspecting the answer is no but thought I'd ask.
For example we would like to see a few lines of the log file prior to the 'string' that generates the alert, to see what caused that string to appear.
Thanks