AnsweredAssumed Answered

Nimsoft logmon match expression query

Question asked by sumit_cs on Nov 15, 2016
Latest reply on Nov 16, 2016 by Sayeed Islam

Hey there,

I have question regarding nimsoft logmon probe pattern match (matching expression)

 

basically I need to capture ERROR in log file but not when following happens

 

bla bla bla ERROR bla.xyz bla bla bla

or

bla bla bla ERROR bla abc bla bla bla

 

Note : bla = anything

 

So my patter matching works for individual cases

 

i.e.  /.*ERROR.*\.(?!xyz).*/ 


/.*ERROR.*(?!abc).*/

 

however /.*ERROR.*\.(?!xyz).*/ |/.*ERROR.*(?!abc).*/ do nto work.

How do OR '|' work in nimsoft logmon pattern matching?

 

many thanks

Sumit

Outcomes