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!

Developer Spotlight with Brett Adams

In our third Spotlight feature, we're excited to shine a light on Brett—a Splunk consultant, innovative ...

Index This | What can you do to make 55,555 equal 500?

April 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...