• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Eric F. · Jan 17, 2013 at 04:49 PM ·

Is it possible to capture and log an XML tag within the header of a SOAP request?

Hello,

Is it possible to capture and log an XML tag (called cID) within the header of a SOAP request using dT?

Thank you,
Eric

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

1 Reply

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Rob V. · Jan 17, 2013 at 06:44 PM

Hey Eric,

There's not a way to directly manipulate the SOAP header in dT. However, if you are able to get the XML string either before or after the call (as an argument to a method, for example) you can use the normal Transformation Regex technique to pull out the value for that tag.

Rob

Comment

People who like this

0 Show 3 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Eric F. · Jan 17, 2013 at 06:48 PM 0
Share

Hey Rob. Thank you for the response.

Are method arguments the best way to capture strings such as XML headers? What other techniques like this are viable?

Thank you,
Eric

avatar image Rob V. Eric F. · Jan 17, 2013 at 06:53 PM 0
Share

Method arguments are one way. Method return values are another way. The "Servlet" sensor in Java (ASP.NET sensor in .NET) allows you to capture a variety of session state (HTTP params, session variables, request headers, etc). Some other sensors like messaging sensors allow you to capture the message contents (like JMS).

Keep in mind that we have a limit (you set it) as to how long the strings you capture can be. We'll truncate the return string at that point. So especially for free-form stuff like XML you need to be sure that the tag you want is in the first N characters of the string you're returning.

Rob

avatar image Eric F. Rob V. · Jan 17, 2013 at 06:55 PM 0
Share

Perfect. Thank you very much Rob!

Thanks,
Eric

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

1 Person is following this question.

avatar image

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A