Request attributes from json post request

Hello,

Is there any way to create a request attribute from JSON body of POST request.

Thanks,

Islam

Hi,

I am not sure if you are asking about this but you have Request attributes API - POST a request attribute.

Best regards

@Islam_Zedan,

This should be coming out very soon: https://community.dynatrace.com/t5/Product-ideas/RFE-capture-POST-Bodies/idc-p/199511/highlight/true#M34158

@Islam_Zedan - it is not possible today, to get a request attribute from body of a payload. You could look into a method that utilizes the value and create a request attribute there. You can add accessors on a Class object to get to a variable if required.

But as @AntonioSousa said, looks like something is coming soon.

Hi @Islam_Zedan !

If you have enabled Grail on your tenant you can use Business Event (new powerful “request attribute” working on 100% of trace, without sampling) :

Concept : Basic concepts of Dynatrace Business Observability — Dynatrace Docs

Capture : https://www.dynatrace.com/support/help/platform-modules/business-analytics/ba-events-capturing#example-of-data-extraction

This new feature enabled data capture from the JSON payload! Request and Answer are supported.

@jegron,

In my use cases, it’s more needed in Managed environments…