How to specify proxy_url on Logstash with x-pack

Without proxy and with the same configuration, x-pack and Logstash work