You configure APM Server to write to Elasticsearch by setting options in the output.elasticsearch section of the apm-server.yml config file
output.elasticsearch
apm-server.yml
Most Popular
Video
Get Started with Elasticsearch
Intro to Kibana
ELK for Logs & Metrics