opensearch-project / perftop

📈 PerfTop: A client for the OpenSearch Performance Analyzer
https://opensearch.org/docs/latest/monitoring-plugins/pa/index/#get-started-with-perftop
Apache License 2.0
17 stars 18 forks source link

[FEATURE] Support authenticated login at opensearch #35

Open wuetz opened 2 years ago

wuetz commented 2 years ago

Is your feature request related to a problem? We have an opensearch cluster running where authentication is enabled. This leads to the fact, that perftop is not able to access the necessary endpoints.:

HTTP(S) Response for per-node data was not in JSON format:
      Unauthorized
HTTP(S) Response for per-node data was not in JSON format:
      Unauthorized
HTTP(S) Response for per-node data was not in JSON format:
      Unauthorized

What solution would you like? Provide a way to enable credentials to access the necessary opensearch endpoints.

What alternatives have you considered? The option to have opensearch unauthenticated is not an alternative for us.

toby181 commented 2 years ago

Hey @wuetz Although it's not documented for opensearch/perf-top this feature was build into opendistro/perf-top, see these links: https://github.com/opendistro-for-elasticsearch/perftop/pull/35 https://github.com/opensearch-project/perftop/search?q=auth Maybe that helps