Proxy Elasticsearch
With your own API server

Document contributions welcome. This is a work in progress.

Continue to generate Elasticsearch queries from the browser with Searchkit but proxy the request through your own application server. This is useful if you want to add additional security (add Elasticsearch credentials or restrict data with additional filters) or logging to your Elasticsearch queries.

Change the request to my own API

Implement your own API route on your application server by creating a POST /_msearch API and specify your application server in the host property or building a custom transporter. Searchkit will make requests to the proxy which will then relay the request to Elasticsearch with read only security credentials and extra filtering restrictions (if needed).

Apache 2.0 2024 © Joseph McElroy.
Need help? Join discord