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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...