How to exclude certain fields from APM logs

my company recently started using Elastic Cloud APM. I am looking for some guidance on how to exclude certain fields to be available when seeing the logs from APM like http.request.body.original


Are you looking for disabling the body only or are you asking for a general response? Which APM agent do you use?

In the Java APM agent you can disable storing the request body with this property (as an example for the APM config file):


Best regards

Thank @Wolfram_Haussig, it seems when creating custom configuration we enabled capture_body which is defaulted to off. By updating it back to off, the issue was fixed

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