Use kibana connected to elasticsearch through a proxy

Hi,

I'm new to elasticsearch and kibana.
I connect to elasticsearch using a socket proxy:
curl --proxy socks5h://localhost:8001 <server_address>
I tried to set HTTP_PROXY environment variable to socks5h://localhost:8001 which did not work.
I did not succeed in setting the same proxy socket for kibana so that I can reach elasticsearch.
Is there any way to do that ?

Best,
Rémi

Unfortunately we don't have support for socks proxies currently, the only real workaround is to add another layer to the proxy that lets Kibana speak http.