I implemented proxy server for Elastic Search in Node. It can be found
Basically it provides the following for you:
- It can restrict access to Elastic Search HTTP REST API (by default it
exposes safe operations only).
- 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).
- 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:
The code is still quite new and a bit sketchy at some parts but I would love
to get some feedback.