Elastic Search Basic Authentication

After reading below i have decided to implement custom headers. I do not have x-pack security installed. Need a sample implementation as adding this did not sort out my issues

added this to kibana.yml
elasticsearch.customHeaders: { Authorization: Basic base64encoded un:pw }

##Option 2 - Kibana customHeaders
This solution is very similar to Option 1. Using the elasticsearch.customHeaders setting in the kibana.yml you can pass the same Basic Auth headers to Elasticsearch on every request. However, you'll have to disable X-Pack Security in Kibana for this option to work.
This solution doesn't require a reverse proxy; however, you will be forced to use Kibana as the same user, and disable X-Pack Security.


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.