Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access with non superadmin user #432

Open
15astro opened this issue Mar 17, 2020 · 2 comments
Open

Access with non superadmin user #432

15astro opened this issue Mar 17, 2020 · 2 comments

Comments

@15astro
Copy link

15astro commented Mar 17, 2020

I am trying to use elasticsearch-head using non-superuser having permissions to limited indexes in the cluster. This limits to only following features of elasticsearch-head:

  1. Browser
  2. Any Request

Following features are not available with non-superuser login:

  1. Cluster Health
  2. Overview
  3. Indices
  4. Structured Query

What user permissions are required to allow elasticsearch-head with all features using non-superadmin user?

@philipskokoh
Copy link
Collaborator

Sorry for late response.
From Elasticsearch built-in roles, I could not find non-superuser role which has permission to read cluster information, list indices, etc.
In this case, I think you need to define a new role with monitor privilege on that role.
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-privileges.html

I haven't explored much on Elasticsearch roles, let me know whether this works or not.

@philipskokoh
Copy link
Collaborator

Hi, you can try to add transport_client. This may be sufficient.
References:
https://www.elastic.co/guide/en/elasticsearch/reference/current/built-in-roles.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants