logasaurus icon indicating copy to clipboard operation
logasaurus copied to clipboard

basic auth and https

Open wryfi opened this issue 9 years ago • 5 comments

Is it possible to use loga with an elasticsearch that is protected by http basic auth and https?

My organization proxies our elasticsearch through nginx, to add https and basic auth.

Nothing I tried in the config file seemed to work. It would be great to support this.

As a workaround, I had to create an ssh tunnel to port 9200 on my elasticsearch box, which is unprotected but only listens on localhost. Though I was able to query elasticsearch via the local forwarded port and curl, I continued to have other issues (see #1).

wryfi avatar Apr 27 '16 23:04 wryfi

I'll need this for an upcoming project, and it fits into the overall work I need to get the API spec back up to date.

malnick avatar May 04 '16 23:05 malnick

@wryfi https://github.com/malnick/logasaurus/pull/3

You don't need any type of auth correct? Just HTTPS for the request?

malnick avatar May 08 '16 22:05 malnick

Basic AUTH + TLS support would also be a requirements for us. So +1 for both from me.

zeisss avatar May 11 '16 13:05 zeisss

Are you using Shield?

malnick avatar May 12 '16 21:05 malnick

nope, we have a plain haproxy

zeisss avatar May 13 '16 08:05 zeisss