How to capture the Logj4 logs created in java service to APM Server

Ok, Sounds Good but as of now i have configured everything in central management and mapped the json file it's working fine.

Also raised another case regarding ECS logging. Kindly look into this. Thanks.

customizing-message-field-for-ecs-logging