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
Get Updates on the Splunk Community!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

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

Building Momentum: Splunk Developer Program at .conf25

At Splunk, developers are at the heart of innovation. That’s why this year at .conf25, we officially launched ...