AppD Archive

Catching SQL Exceptions - seeing sql parameters

CommunityUser
Splunk Employee
Splunk Employee

Is there a way to see the sql parameters that are passed in when a SQL exception is caught?  I went to the Error Transaction Snapshot and drilled into the error and clicked on SQL calls.  I see the error message and I see the SQL but when viewing the SQL the where clause displays a question mark and I do not see anywhere where I can see the parameters that the SQL was trying to use.

Thanks

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

I found where that setting needs to be changed.

configuration --> Intrumentation --> Call Graph Settings

Scroll to the bottom and select:

Capture Raw SQL

0 Karma
Get Updates on the Splunk Community!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...