I have APM 6.5 and java agent v1.
The agent is configured with -Delastic.apm.capture_body=errors
But in APM UI, when I go to errors tab, the body has the value [REDACTED].
Also i have configured the transaction_sample_rate with 0.1,
Does this setting affect to capture_body?
I have an aplication running with -Delastic.apm.capture_body=errors. This flag capture body request when that request is an error. But when i check that errors, bodies have [REDACTED] value.
That's correct. But it can't capture arbitrary request bodies like JSON documents sent to your server. It currently only works when the body contains a application/x-www-form-urlencoded request body.
What type of request bodies are you trying to capture?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.