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!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...