# Pass proxy header with ES-Hadoop

**URL:** <https://discuss.elastic.co/t/pass-proxy-header-with-es-hadoop/24990>\
**Category:** Elasticsearch\
**Tags:** es-hadoop\
**Created:** [July 6, 2015, 9:40pm UTC](https://discuss.elastic.co/t/pass-proxy-header-with-es-hadoop/24990 "2015-07-06T21:40:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vijaym123](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vijaym123/32/3590_2.png) [@vijaym123](https://discuss.elastic.co/u/vijaym123)\
**Post date:** [July 6, 2015, 9:40pm UTC](https://discuss.elastic.co/t/pass-proxy-header-with-es-hadoop/24990/1 "2015-07-06T21:40:04Z")

</div>

Hi Everyone,

I was looking at the configuration page on your site ([https://www.elastic.co/guide/en/elasticsearch/hadoop/current/configuration.html](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](http://www.google.com)" --proxy  
"[http://proxyserver.xzy.com:1234](http://proxyserver.xzy.com:1234)" -H "App-Auth: string"

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

---

<div class="post-metadata">

**Author:** ![costin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/costin/32/44950_2.png) [@costin](https://discuss.elastic.co/u/costin)\
**Post date:** [July 14, 2015, 7:48am UTC](https://discuss.elastic.co/t/pass-proxy-header-with-es-hadoop/24990/2 "2015-07-14T07:48:11Z")

</div>

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,

---

<div class="post-metadata">

**Author:** ![ddscharge](https://avatars.discourse-cdn.com/v4/letter/d/a5b964/32.png) [@ddscharge](https://discuss.elastic.co/u/ddscharge)\
**Post date:** [August 21, 2016, 9:49pm UTC](https://discuss.elastic.co/t/pass-proxy-header-with-es-hadoop/24990/3 "2016-08-21T21:49:38Z")

</div>

Has the support for passing header information been added?

---

<div class="post-metadata">

**Author:** ![Wai\_Kin\_Lau](https://avatars.discourse-cdn.com/v4/letter/w/b5e925/32.png) [@Wai\_Kin\_Lau](https://discuss.elastic.co/u/Wai_Kin_Lau)\
**Post date:** [August 22, 2016, 11:20pm UTC](https://discuss.elastic.co/t/pass-proxy-header-with-es-hadoop/24990/4 "2016-08-22T23:20:02Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:23pm UTC](https://discuss.elastic.co/t/pass-proxy-header-with-es-hadoop/24990/5 "2017-07-06T13:23:38Z")

</div>


