ELK stack version: 7.2
APM Java agent: 1.7.0
Hi guys, I have 2 different web services (RESTful and SOAP) exposed by the same JVM. I would like to capture both different request body (application/json and text/xml;charset=UTF-8).
I tried the following options:
-Delastic.apm.capture_body=all -Delastic.apm.capture_body_content_types=application/json*, text/xml* -> I can capture only json body
-Delastic.apm.capture_body=all -Delastic.apm.capture_body_content_types=text/xml* -> -> I can capture only xml body
-Delastic.apm.capture_body_content_types=application/x-www-form-urlencoded*, text/, application/json, application/xml -> it doesn't capture both types
Since this property is list type, I'm wondering how should I set it properly in order to capture both body types at the same time.
-Delastic.apm.capture_body=all -Delastic.apm.capture_body_content_types=application/x-www-form-urlencoded*, text/, application/json, application/xml