Hi,
I had troubles with logstash to send logs to elastic because my proxy uses letsencrypt as cert.
I found an issue on github regarding such sort of problem.
https://github.com/logstash-plugins/logstash-output-http/issues/21
I had to tell beat to write to elastic directly.