Greenones

Logmon Variable to pull filename and status code

Discussion created by Greenones on Mar 9, 2015
Latest reply on Mar 12, 2015 by ntimm

Hi all,

 

I'm trying to set up a logmon profile to pick up the filename and status.

 

My testing is only bringing back the variable name in the alarm for some reason?

 

I keep getting the alarm $var!

 

The target string is:

df49a1006ca45c08d12c6fe412a5b189c7dbe949,09/03/2015 09:30:24,1,Test_Error.csv,service.management@mdsuk.com,3

 

The target file is a .csv and in the case shown above, I need the alarm to contain "Test_Error.csv" and the "3" at the end of the line.

 

Does anyone know the regex to this?

 

Thanks in advance.

 

Sam

Outcomes