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
This should be coming out very soon: https://community.dynatrace.com/t5/Product-ideas/RFE-capture-POST-Bodies/idc-p/199511/highlight/true...
@islam_zidan - 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_zidan !
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 : https://www.dynatrace.com/support/help/platform-modules/business-analytics/ba-basic-concepts
This new feature enabled data capture from the JSON payload! Request and Answer are supported.