Elastic APM is not displaying request.body for POST request for the content type-Application/JSON

Hi,

We are using Elastic APM agent & server for Wildfly 10 application.
We have enabled the below options, still the request body is mentioned as [REDACTED] for POST requests with the content type as Application/JSON.
elastic.apm.capture_body=transactions
or
elastic.apm.capture_body=all

The context.request.body is always displaying as [REDACTED].
share your comments and Any more configuration to be done?

Per https://www.elastic.co/guide/en/apm/agent/java/current/config-http.html, currently only application/x-www-form-urlencoded content-type bodies are captured by the Java agent.

There is a work in progress to capture text-based request body as well, so you may want to watch our GitHub repo for releases.

This feature would be very useful

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.