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!

Stay Connected: Your Guide to July Tech Talks, Office Hours, and Webinars!

What are Community Office Hours?Community Office Hours is an interactive 60-minute Zoom series where ...

Updated Data Type Articles, Anniversary Celebrations, and More on Splunk Lantern

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

A Prelude to .conf25: Your Guide to Splunk University

Heading to Boston this September for .conf25? Get a jumpstart by arriving a few days early for Splunk ...