Regular expression not working properly in JON Alert Conditions

Solution Verified - Updated -

Issue

  • We configured the alerts with alert condition as below

    Event Severity as "DEBUG" and matching expression as "[2010002].+[CLEAR]"
    
  • It should create an alert on below matching string in an event

    "DEBUG [2010002] [7] [CLEAR] [2011-08-11 20:34:54] [POP-ESB] [CustomExceptionHandlerAction:ValidateSourceProxy] [172.18.2.36]"
    
  • But on occurrence of above event, it is not creating an alert.

  • Can you see whether this is an issue in JON or my regular expression is wrong. I am tring to match below string

Environment

  • JBoss Operations Network (JON) 2.4.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content