Authentication in Elasticsearch


How do I define security access in Elasticsearch? I have the elasticsearch-head plugin but your access doesn't require any security.

Best Solution

The plugin mentioned in this answer is no longer being actively supported.

There is no built-in access control in elasticsearch. So, you would need to setup a reverse proxy (here is a blog post how to setup nginx), use one of the 3rd party elasticsearch plugins such as or use the official security plugin Shield.