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

Elasticsearch_exporter (es_exporter) authentication steps are not working. #926

Open
shubhammugale opened this issue Sep 5, 2024 · 2 comments

Comments

@shubhammugale
Copy link

We are trying to apply authentication on es_exporter, but we are unable to do so on the Ubuntu 22.04 machine. The document we found is attached here. Please let us know the configuration steps if it is possible to apply authentication for the es_exporter

#438

@shubhammugale
Copy link
Author

We are trying to apply authentication on es_exporter, but we are unable to do so on the Ubuntu 22.04 machine. The document we found is attached here. Please let us know the configuration steps if it is possible to apply authentication for the es_exporter

#438

Is there any update on this..............!

@sysadmind
Copy link
Contributor

Are you talking about the username/password to access elasticsearch or are you talking about protecting the /metrics endpoint of this exporter with authentication?

If you're asking about elasticsearch authentication, you can put the username and password in the elasticsearch URL or provide the environment variables instead.

If you're asking about protecting the /metrics endpoint, you can use the --web.config.file to specify basic auth credentials. See this documentation for more details.

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