Splunk AppDynamics

Changed SQL Capture to Capture Raw SQL now getting Max SQL Capture Length [999] Reached

CommunityUser
Splunk Employee
Splunk Employee

Just recently changed SQL Capture settings from Filter Parameter Values to Capture Raw SQL.  

Parameter values are now displaying fine, however, longer sql queries are now being truncated to 999 characters and seeing "Max SQL Capture Length [999] Reached" at the end of the SQL.  They weren't previously being truncated before changing the setting.

Can someone let me know which setting/configuration controls this 999 limit?  Google and searches on this site haven't turned up anything.

Thanks,

Craig

Labels (1)
0 Karma
1 Solution

CommunityUser
Splunk Employee
Splunk Employee

Hi Craig,

I found this post which I think has the solution at the bottom. Let me know if that works for you:

https://community.appdynamics.com/t5/Archive-AppDynamics-Discussions/Increase-the-size-of-the-Detail...

Cody

View solution in original post

CommunityUser
Splunk Employee
Splunk Employee

Hi Craig,

I found this post which I think has the solution at the bottom. Let me know if that works for you:

https://community.appdynamics.com/t5/Archive-AppDynamics-Discussions/Increase-the-size-of-the-Detail...

Cody

CommunityUser
Splunk Employee
Splunk Employee

Thanks Cody,

I had also seen that post but was a little apprenhensive about adding a custom configuration and a new property - but after your post I bit the bullet and it did indeed work.  Adding new agent property max-length-batch-sql to custom node configuration as Integer(5000) in my case worked great.

Thanks,

Craig

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Cool! Glad I was able to find that for you.

Cody

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Introducing the 2026 - 2027 SplunkTrust cohort!

The goal of the SplunkTrust™ membership has historically been to acknowledge and recognize those who go above ...

(re)Introducing the Splunk Community Champions + 2026 – 2027 Splunk MVPs ...

This program exists as a channel to empower and recognize Splunk advocates and help supercharge initiatives to ...

Pro Tips for .conf26: How to Prep Like a Splunk Veteran

There’s no shortage of incredible content lined up for .conf26 in Denver, from deep-dive technical sessions ...