Pass proxy header with ES-Hadoop


(Vijaym123) #1

Hi Everyone,

I was looking at the configuration page on your site (https://www.elastic.co/guide/en/elasticsearch/hadoop/current/configuration.html) and found some very useful documentation to pass data from hadoop to es cluster.

In the parameter list to setup proxy, I found only following variables:

  1. es.net.proxy.http.host
  2. es.net.proxy.http.port
  3. es.net.proxy.http.user
    4)es.net.proxy.http.port

How do I pass header information to proxy server?
Eg : curl –kv "http://www.google.com" --proxy
"http://proxyserver.xzy.com:1234" -H "App-Auth: string"

Where header is -H "App-Auth: string"
Thanks,
Vijay


(Costin Leau) #2

Passing header information is not currently supported (there wasn't any request to do so). Can you please raise an issue so this can be addressed in a future version?

Cheers,


(Ddscharge) #3

Has the support for passing header information been added?


(Wai Kin Lau) #4

@costin do you have any plan to support this? Our project need to use this feature. Is there any way to work around it?


(system) #5