Splunk AppDynamics

Caught exception that is logged as info treated as an Error

CommunityUser
Splunk Employee
Splunk Employee

Hello,

My team has a scenario where a frequently used API catches an Exception and logs it as an info (using log4j2).  AppD is showing this as a transaction error each time it occurs, although this is a benign exception.  My understanding was that exceptions are only treated as business transaction errors if they are uncaught or logged with level ERROR or FATAL.

Are there any other situations that would cause caught/info logged exceptions to be treated as errors?  The exception in question is a RuntimeException.  Do caught RuntimeExceptions still get treated as a business transaction error?

Regards,

Jeremy

Labels (1)
0 Karma

Peter_Holditch
Builder

Exceptions that are thrown through instrumentation (i.e. thrown within a backend call and handled by the application code) will get detected like this.

You can configure the agent to ignore certain exceptions if required.

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

In this scenario, it was not thrown by a backend call.  The code in question is contained entirely through the java service/application.

I plan to configure our Error/Exception detection to ignore this, but I wanted to validate that this is expected behavior.

0 Karma
Get Updates on the Splunk Community!

Uncovering Multi-Account Fraud with Splunk Banking Analytics

Last month, I met with a Senior Fraud Analyst at a nationally recognized bank to discuss their recent success ...

Secure Your Future: A Deep Dive into the Compliance and Security Enhancements for the ...

What has been announced?  In the blog, “Preparing your Splunk Environment for OpensSSL3,”we announced the ...

New This Month in Splunk Observability Cloud - Synthetic Monitoring updates, UI ...

This month, we’re delivering several platform, infrastructure, application and digital experience monitoring ...