• 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 /
  • Dynatrace /
  • Dynatrace Open Q&A /
avatar image
Question by Yann B. · Jan 18 at 04:06 PM · oneagent request attributes

Translate a SAMLResponse > decode on Base64 > use the metadata as Request Attribute

Hi community people,

I have a use case where I need to capture a custom error server side, via request attribute.

The custom error is available in a SAMLResponse comprise in the header value of a request that I'm monitoring via oneagent.

I could capture the SAMLResponse but I would need to convert it on Base64 to have a human readable request attribute [es. transforming the saml "3ijbr43i5jj346bi" in "Error n. 25"]

Is that something possible inside Dynatrace once I have the exact request under the oneagent full-stack monitoring?

Thank you


Ps I ask again cause this answear is from 2017

https://answers.dynatrace.com/spaces/482/dynatrace-open-qa/questions/191115/ability-to-read-base64-encoding-of-request-attribu.html

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
Best Answer

Answer by Július L. · Jan 18 at 04:29 PM

No, it's not possible directly. However, if you can find a place in your code working with the error string in plain text, you could try to capture that on the method level - if it's in a supported language such as JAVA or .NET. It depends on the code and it might not be possible without code modification.

Or you can modify your code and send that request attribute from code using OneAgent SDK.

Or you will have to capture in Base64 and live with Base64 strings in Dynatrace UI, which not comfortable indeed. :-)

Comment
Yann B.

People who like this

1 Show 2 · 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 Yann B. · Jan 18 at 06:34 PM 0
Share

Aahah the third one!


Well I would like to be free to change other peoples code but apparently I'm not the dev here.

Thank you for your time!

avatar image Július L. Yann B. · Jan 19 at 11:18 AM 0
Share

The second may be achievable in your case, but you will need to read and understand the code. if it's java or net, it's often easily decompiled and you can likely find a place (class/method) to capture the value. It's often time consuming, but doable.
Method hotspots may give you a very good idea where to start looking in the code.


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

33 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Capture request parameters in Dynatrace

Request attributes for SOAP response body

How to filter a Request attribute values from a Dashboard or a Custom chart?

Split based on failure in oneagent

Unable to capture more than 250 char from request/response

Forum Tags

mobile monitoring dotnet iis chat kubernetes servicenow amazon web services feedback mysql mainframe application rules rest api cassandra dashboard oneagent sdk cmc waterfall chart application monitoring openkit smartscape request attributes monitoring developer community user tagging log monitoring services ufo opentelemetry integrations activegate auto-detection high five award uem webserver usql iib test automation license ios news migration management zones ibm mq web services notifications sso host monitoring knowledge sharing reports browser monitors java hybris sap vmware maintenance window user action naming resource javascript appmon ai availability tipstricks automation extensions diagnostic tools session replay permissions search davis assistant auto-update faq documentation problem detection http monitors easytravel apdex network docker tags and metadata cloud foundry google cloud platform synthetic monitoring lambda process groups account usability dynatrace saas gui paas openshift key user actions administration production user actions postgresql synthetic locations upgrade oneagent security Dynatrace Managed user management python technologies mongodb openstack user session monitoring continuous delivery citrix configuration alerting performance monitoring NGINX action naming geolocation linux nam installation error reporting database mission control apache slo mobileapp RUM php azure purepath davis scripting aix nodejs android
  • 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