DX Application Performance Management

Expand all | Collapse all

Is there a way to filter out Exceptions on "Java Level.INFO" from Errors Per Interval ?

Jump to Best Answer
  • 1.  Is there a way to filter out Exceptions on "Java Level.INFO" from Errors Per Interval ?

    Posted 03-06-2018 09:35 AM

    We are getting "Errors Per Interval" from Exceptions that are logged on Level.INFO in our webserver.

    Really would like to "ignore" those Exceptions - but the Error Messages are not quite uniqe so we cannot use the snapshots.ignore in IntroscopeAgent.profile... unless there are some way to configure to print out MORE from the error, and not just the "faultstring"? If it's possible to extract som description-tags we the could filter them out by adding ignore-statements.

     

    Ie:

    <faultstring>A really General Error Message</faultstring>

    ...

    <axis2ns1:business>
       <axis2ns1:description>An Error Message</axis2ns1:description>
       <axis2ns1:description>ABC12345:There are missing items here.    {Som stuff and mumbo jumbo}</axis2ns1:description><axis2ns1:code>ABC12345</axis2ns1:code>
       </axis2ns1:business>
       </ns2:messageError>
      </detail>
      </soap:Fault>
     </soap:Body>



  • 2.  Re: Is there a way to filter out Exceptions on "Java Level.INFO" from Errors Per Interval ?
    Best Answer

    Broadcom Employee
    Posted 03-07-2018 08:28 PM

    Hi Daniel,

     

    While I do not have the exact answer to your question, thought I would share some insight on the introscope.agent.errorsnapshots.ignore property in the IntroscopeAgent.profile in case it gives you some idea on whether it can be used to address your need.

     

    The code for this property uses a String array containing the patterns to ignore what you specified in the property value. The method used to determine if there is a match is the Java String method "matches". The Java String method "matches" uses regular expression pattern matching not Windows wildcard matching.

     

    Is it possible at all to identify a regular expression pattern which may cover all potential exceptions that are logged on Level.INFO?