AppD Archive

Parsing JSON from servlet

CommunityUser
Splunk Employee
Splunk Employee

Hi
I have some link - http://localhost:9090/Servlet Service/status. Its return JSON, for example -

{"ServletService.setEnabled(..)-MaxTime":28,"ServletService.isEnabled()-MaxTime":10,"ServletService.getTier()-MaxTime":1416"}

How can i transfer this information into Business Metrics?

For example:

1. Name of Business Metric - "ServletService.setEnabled", value is "28"

2. Name of Business Metric - "ervletService.getTier", value is "1416"

I trying configuration Transaction Detection (screen has been attached) but nothing happens, i cant found anything new in Business Transaction.

Could you help me please

0 Karma

Arun_Dasetty
Super Champion

Hi,

Servlet BT split  will help to get the BT name split by json Object key value as per docs: http://docs.appdynamics.com/display/PRO39/Identify+Transactions+Based+on+JSON+Payload

You might need to update the rule name as ServletService.setEnabled (if you want to BT name as ServletService.setEnabled) and need to provide the object key field and see how it goes, we assume you have updated node level property as suggested in UI popup in json section. Hope that information helps.

Regards,

Arun

0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...