keith.krumbine

Logmon: How do I capture multi-line response from a command?

Discussion created by keith.krumbine on Aug 20, 2010
Latest reply on Mar 4, 2016 by Tomas Vrbka

I am using the logmon probe to execute a .vbs file that returns back a list of files separated by a carriage return.  I am using logmon and a script because DirScan does not offer the ability to list out the files it finds.  The return text looks like this:

 

3 File(s) were found in "Directory Name":

 

Filename1

Filename2

Filename3

 

I want to be able to capture the whole text to be used in an email alert.  So, is capturing a multi line response supported by the logmon probe?  If so, how would i configure it propery?  If not, any additional suggestions other than formatting the output to be a single line that I would split in a lua script?  Thanks!

 

-Keith

Outcomes