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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.