Re: Connecting to ES via a http proxy in perl client

2014-10-28 Thread Kevin Van Workum
On Tuesday, October 28, 2014 5:25:29 AM UTC-4, Clinton Gormley wrote: > > Hi Kevin > > On Friday, 24 October 2014 18:24:00 UTC+2, Kevin Van Workum wrote: >> >> I'm trying to connect to my ES via a proxy using a client written in >> perl. What's the best

Connecting to ES via a http proxy in perl client

2014-10-27 Thread Kevin Van Workum
I'm trying to connect to my ES via a proxy using a client written in perl. What's the best way to do this? Here's what I have, and it works, but I suspect there's a more straight forward approach: $e = Search::Elasticsearch->new( cxn => 'LWP', nodes => 'node1:9200' ); $ENV{HTTP_proxy} =