Splunk AppDynamics

Extract value from SOAP Request for Naming client that invokes a Business Transaction (using XPATH)

CommunityUser
Splunk Employee
Splunk Employee

Have a requirement to extract an application id (Client id) that is provided as part of the SOAP Request header (in the username credentials). Looks like i may be able to use https://docs.appdynamics.com/display/PRO43/Split+Servlet+Transaction+by+Payload+Examples#SplitServle...

In the XPATH that I will be creating, I will have to tokenize the result of the XPATH to retrieve the client id. XPATH 2.0 has a tokenize() that can be used in conjuntion with an XPATH. Does App D support XPATH 2.0 and tokenize(). Also are there samples for using tokenize with XPATH in App D

appreciate your help

Labels (1)
Tags (1)
0 Karma
1 Solution

Atyuha_Pal
Contributor

Hi Suraj,

The basis for splitting the transaction here is a DOM parser parsing an XML payload as part of the servlet request. You can use an XPath expression to generate your transaction name here. Whatever the XPath evaluates to will be appended to the name in the transaction rule. 

You may use one or more XPath expressions to chain the name generated for your transaction. If an expression does not evaluate to a value, the transaction will not be identified unless you choose to ignore the evaluation.

The following XML parsing frameworks are currently supported
1) JDK DOM parser 2)DOM4J 3)Xerces.

Thanks,

Atyuha

View solution in original post

0 Karma

Atyuha_Pal
Contributor

Hi Suraj,

The basis for splitting the transaction here is a DOM parser parsing an XML payload as part of the servlet request. You can use an XPath expression to generate your transaction name here. Whatever the XPath evaluates to will be appended to the name in the transaction rule. 

You may use one or more XPath expressions to chain the name generated for your transaction. If an expression does not evaluate to a value, the transaction will not be identified unless you choose to ignore the evaluation.

The following XML parsing frameworks are currently supported
1) JDK DOM parser 2)DOM4J 3)Xerces.

Thanks,

Atyuha

0 Karma
Get Updates on the Splunk Community!

ATTENTION!! We’re MOVING (not really)

Hey, all! In an effort to keep this Slack workspace secure and also to make our new members' experience easy, ...

Splunk Admins: Build a Smarter Stack with These Must-See .conf25 Sessions

  Whether you're running a complex Splunk deployment or just getting your bearings as a new admin, .conf25 ...

AppDynamics Summer Webinars

This summer, our mighty AppDynamics team is cooking up some delicious content on YouTube Live to satiate your ...