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

Exposing metrics endpoint without requiring authentication #303

Open
mmcgarr opened this issue Mar 16, 2021 · 3 comments
Open

Exposing metrics endpoint without requiring authentication #303

mmcgarr opened this issue Mar 16, 2021 · 3 comments

Comments

@mmcgarr
Copy link
Contributor

mmcgarr commented Mar 16, 2021

With this plugin installed it seems I need to configure a username and password for prometheus to scrape metrics from elasticsearch. We generally don't consider prometheus metrics to be sensitive.

Is there a way to remove the need for basic auth on the metrics endpoint?

@Sumit31
Copy link

Sumit31 commented Mar 25, 2021

similar issue
i am getting this error on prometheus:
server returned HTTP status 401 Unauthorized

is there anyway to remove it ?

@ebuildy
Copy link

ebuildy commented Dec 29, 2021

Not sure, but can you try using super user elastic ?

Or maybe, by adding (see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-privileges.html) monitor role to anonymous user.

@agabriel777
Copy link

facing the same issue with 6.8.0. has anybody found a workaround to this? thank you

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

4 participants