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!

Why You Can't Miss .conf25: Unleashing the Power of Agentic AI with Splunk & Cisco

The Defining Technology Movement of Our Lifetime The advent of agentic AI is arguably the defining technology ...

Deep Dive into Federated Analytics: Unlocking the Full Power of Your Security Data

In today’s complex digital landscape, security teams face increasing pressure to protect sprawling data across ...

Your summer travels continue with new course releases

Summer in the Northern hemisphere is in full swing, and is often a time to travel and explore. If your summer ...