How to view post/put/patch data

236 Views Asked by At

When error occurs, I want to see the data payload uploaded by users.

I wasn't able to find the post/put/patch data in apm report. (kibana)

Is there an option I need to turn on for this?

1

There are 1 best solutions below

0
On BEST ANSWER

Most agents have a CaptureBody config option, with that you can capture the request body. It's off by default - you can set it to error.

I linked the Java docs, you should be able to find the same config for (I think all) other agents.