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

documentation for usage in combination with security plugins #324

Open
rursprung opened this issue Oct 18, 2021 · 0 comments
Open

documentation for usage in combination with security plugins #324

rursprung opened this issue Oct 18, 2021 · 0 comments

Comments

@rursprung
Copy link

there are various security plugins available for elasticsearch (x-pack, SearchGuard and OpenDistro being the most well known).
is there any documentation on how to use elasticsearch-prometheus-exporter in combination with them?

i see two aspects to this:

  • this plugin does REST calls to elasticsearch, so if security is enabled there it needs to be able to
    • provide authentication
    • validate & accept the TLS cert (it might well be a self-signed CA at the top!)
  • since the prometheus plugin exposes a new path on the existing 9200 port instead of opening a dedicated port it is behind HTTPS (if this is enabled in the security plugin) and behind authentication. but when using prometheus in a kubernetes environment with automatic scrapping there's no good way to configure the scraper to accept self-signed CAs or provide authentication
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

1 participant