Splunk AppDynamics

Ignore 500 Exception from a specific app

CommunityUser
Splunk Employee
Splunk Employee

Our team is new to AppDynamics, and we're currently experiencing an issue where AppDynamics reports over 50% of all traffic for some of our apps as errors because of 500 Exceptions that we don't care about.

For example: we transform data from one format to another, and deliver to a service that we don't own. Sometimes the data we receive is bad, and we won't know until we deliver the transformed message and get a response from the service we deliver to. We have built in functions, however, that can parse the response message from this service and automatically fix issues with the data. In this scenario, we receive bad data, deliver it to the end-service, receive a rejection message, fix the data accordingly, and then deliver again with no issues. The end result is that our app returns a 200 OK to the team that delivers to us, but in AppDynamics, this record will be logged as an error. 

I've been playing around with the error detection settings in the instrumentation section of our AppDynamics page, but I don't see any way to ignore HttpStatus codes for specific restful calls. We obviously can't tell our AppDynamics to just ignore all 500s because that would be too broad. Is there a way to capture a specific call in a given app and ignore a 500? 

Thanks

Labels (1)
0 Karma

Brian_Wheeldon
Contributor

Hi Matt,

You can configure which HTTP codes should/shouldn't be treated as an error in any AppDynamics application. 

By default, AppDynamics captures HTTP error codes from 400 to 505. HTTP response codes may convey errors that occur at the business level of an application. For example, in an ecommerce application, a 522 error might indicate that an item is out of stock. For this case, you may want to exclude the error as a default transaction error indicator.

To exclude a return code, add them to the error detection list by creating a custom error code range and then disabling that error code by clearing its Enabled checkbox. This in effect excludes the error code as an error indicator.

https://docs.appdynamics.com/display/PRO43/Error+Detection#ErrorDetection-DetectHTTPResponsesorRedir...

Get Updates on the Splunk Community!

Best Strategies to Optimize Observability Costs

 Join us on Tuesday, May 6, 2025, at 11 AM PDT / 2 PM EDT for an insightful session on optimizing ...

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...