# \[ANNOUNCEMENT\] Node based proxy server for Elastic Search

**URL:** <https://discuss.elastic.co/t/announcement-node-based-proxy-server-for-elastic-search/3466>\
**Category:** Elasticsearch\
**Created:** [October 22, 2010, 2:03pm UTC](https://discuss.elastic.co/t/announcement-node-based-proxy-server-for-elastic-search/3466 "2010-10-22T14:03:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lukas\_Vlcek1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas_vlcek1/32/819_2.png) [@Lukas\_Vlcek1](https://discuss.elastic.co/u/Lukas_Vlcek1)\
**Post date:** [October 22, 2010, 2:03pm UTC](https://discuss.elastic.co/t/announcement-node-based-proxy-server-for-elastic-search/3466/1 "2010-10-22T14:03:42Z")

</div>

Hi,

I implemented proxy server for Elastic Search in Node. It can be found  
here: [http://github.com/lukas-vlcek/node.es](http://github.com/lukas-vlcek/node.es)  
Basically it provides the following for you:

1. It can restrict access to Elastic Search HTTP REST API (by default it  
exposes _safe_ operations only).
2. You can provide handlers to modify HTTP client request (e.g. you can  
ensure that size is not too big) and Elastic Search response (e.g. you can  
remove sensitive data).
3. It round-robin client requests among active HTTP enabled nodes (it  
periodically refreshes list of active nodes), thus, it can provide a single  
URL for clients to communicate with Elastic Search cluster.

More detailed documentation can be found in the source code:

> <https://github.com/lukas-vlcek/node.es/blob/master/proxy/elasticsearch-proxy.js>

  
The code is still quite new and a bit sketchy at some parts but I would love  
to get some feedback.

Regards,  
Lukas

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [October 22, 2010, 3:48pm UTC](https://discuss.elastic.co/t/announcement-node-based-proxy-server-for-elastic-search/3466/2 "2010-10-22T15:48:20Z")

</div>

This looks great lukas!, hopefully this will also be the home for a node.js  
client for elasticsearch.

-shay.banon

On Fri, Oct 22, 2010 at 4:03 PM, Lukáš Vlček [lukas.vlcek@gmail.com](mailto:lukas.vlcek@gmail.com) wrote:

> Hi,
> 
> I implemented proxy server for Elastic Search in Node. It can be found  
> here: [GitHub - lukas-vlcek/node.es: Node gadgets for Elastic Search](http://github.com/lukas-vlcek/node.es)  
> Basically it provides the following for you:
> 
> 1. It can restrict access to Elastic Search HTTP REST API (by default it  
> exposes _safe_ operations only).
> 2. You can provide handlers to modify HTTP client request (e.g. you can  
> ensure that size is not too big) and Elastic Search response (e.g. you can  
> remove sensitive data).
> 3. It round-robin client requests among active HTTP enabled nodes (it  
> periodically refreshes list of active nodes), thus, it can provide a single  
> URL for clients to communicate with Elastic Search cluster.
> 
> More detailed documentation can be found in the source code:  
> [http://github.com/lukas-vlcek/node.es/blob/master/proxy/elasticsearch-proxy.js](http://github.com/lukas-vlcek/node.es/blob/master/proxy/elasticsearch-proxy.js)  
> The code is still quite new and a bit sketchy at some parts but I would  
> love to get some feedback.
> 
> Regards,  
> Lukas

---

<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, 4:17am UTC](https://discuss.elastic.co/t/announcement-node-based-proxy-server-for-elastic-search/3466/3 "2017-07-06T04:17:41Z")

</div>


