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 bla bla


bla bla bla ERROR bla abc bla bla bla


Note : bla = anything


So my patter matching works for individual cases


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



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

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


many thanks