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
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 ...