Normally APM work like this:
1-Is it possible to store APMAgent log in file after that import in Elastic? Like this
2-Then feed log file to APMServer
FYI:I have two separate environment, first is 1, second is 2.