-
Notifications
You must be signed in to change notification settings - Fork 794
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
Comments
Is there any update on this..............! |
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. |
Hi @sysadmind, Currently, we are using Elasticsearch version 7.17.0 and es_exporter version 1.3.0 (branch: HEAD). Additionally, we verified the available options using the --help command, and the following options are displayed: Flags: Can you please help us further |
The current release of elasticsearch_exporter is 1.8.0. I believe you need to update to a more recent version to get the --web.config options. |
@sysadmind We have installed 1.8.0 version of es_exporter and got the --web.config option on that but somehow we are not able to start the service. we are getting the below error es_exporter[22052]: level=info ts=2024-11-29T17:43:57.634633849Z caller=clusterinfo.go:214 msg="triggering initial cluster info call" |
I see two things here:
|
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
The text was updated successfully, but these errors were encountered: