2019-08-27 13:55:24.806 [apm-reporter] ERROR co.elastic.apm.agent.report.IntakeV2ReportingEventHandler - Error sending data to APM server: Server returned HTTP response code: 502 for URL: http://loadbalancer/<apm_server>:8200/intake/v2/events, response code is 502
Could you send me the output of curl http://loadbalancer/<apm_server>:8200/ and curl -H 'Content-Type: application/x-ndjson' -XPOST http://loadbalancer/<apm_server>:8200/intake/v2/events?
Seems like there are connection issues so that the agent can’t connect to your load balancer. Once those are resolved, the agent should be able to connect.
Question: it seems you already have a load balancer. Why do you also want to apply client side load balancing?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.