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!

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...

Turn Cisco Telemetry Into Action with Cisco Data Fabric, powered by the Splunk ...

The surge in machine data is already hitting enterprise budgets, and the agentic era will only intensify it. ...