02 May 2023 08:19 PM
Hello,
Is there any way to create a request attribute from JSON body of POST request.
Thanks,
Islam
Solved! Go to Solution.
02 May 2023 11:17 PM
Hi,
I am not sure if you are asking about this but you have Request attributes API - POST a request attribute.
Best regards
02 May 2023 11:29 PM
This should be coming out very soon: https://community.dynatrace.com/t5/Product-ideas/RFE-capture-POST-Bodies/idc-p/199511/highlight/true...
03 May 2023 08:01 AM
@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.
03 May 2023 08:59 AM
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.