knes1 / elktail

Command line utility to query, search and tail EL (elasticsearch, logstash) logs
MIT License
197 stars 66 forks source link

Need to support TLS connections #22

Open portante opened 7 years ago

portante commented 7 years ago

It would be great to have this tool support --cert and --key so that we can support TLS connections where ES is behind something like SearchGuard.

knes1 commented 7 years ago

I assuming you need client certificates? The TODO list for elktail is currently long, so this feature might not arrive soon. You may look into using stunnel as a proxy (e.g. elktail -> stunnel on local machine with certs configured -> SearchGuard). This should work as a workaround. http://stackoverflow.com/questions/6817811/setting-up-a-proxy-that-performs-client-certificate-authentication-to-a-remote-s