AppD Archive

Data Collectors Json

CommunityUser
Splunk Employee
Splunk Employee

Is it possible to collect json data in a business transactions (rest web service)?  It would be helpful when troubleshooting errors to see the json data sent with the request.  I would also like to filter/search on the json data.  I have read through the data collectors documention and it appears app dynamics only supports:

  • The basic details such as the type of business transaction, URI, and the time stamp
  • The HTTP parameters for the transaction
  • The cookies set for the transaction
  • The SQL queries executed as part of the transaction
  • User data gathered from any POJO or POCO method executed during the transaction
0 Karma

Arun_Dasetty
Super Champion

Hi Andrew,

 We have a feature to split the servlet requests by xml/json/pojo response call "split transactions by request payload"
Can you let us know if that helps (assumming the request type is discovoered as servlet in controller UI)

http://docs.appdynamics.com/display/PRO12S/Identify+Transactions+Based+on+POJO+Method+Invoked+By+a+S...

and you need toggle the following node level agent properties:

enable-json-bci-rules
set this property to true to enable JSON Byte Code Instrumentation rules 'org.json.JSONObject'.'get/getString', default value is 'false', needs JVM restart.

enable-xml-bci-rules
set this property to true to enable Java XML Binding and DOM Parser Byte Code Instrumentation rules, default value is 'false', needs JVM restart.

http://docs.appdynamics.com/display/PRO12S/App+Agent+Node+Properties#AppAgentNodeProperties-Toregist...

Please find the attached screenshots with same test results and split custom rules  based on request payload 

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

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

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...