Authentication to Kibana

Hello All ,

We wanted to setup a basic authentication for Kibana which is installed on Windows, where by supplying User id and password , it should match with the user id and password provided in the configuration file and if it matches then it should authenticate , open the dashboard page of Kibana . In Otherwords need to know whats the best way to go for authentication something which is open source.Any idea how can we achieve this please ?

Thanks and Regards
Saravana S

Try ReadOnlyRest

Hello @inhinyera16 ,

Thanks for your reply but i am looking for open source one . Can you please help me with that ?

what about nginx in front of kibana endpoint? Setup users or match with ldap.
Is a good way.

Hello @elemus ,

I tried this method too . But It is not working. Can you please help us on this.

server {
        listen       80;
        server_name  <Hostname I specified>;

        #root E:/ELK/nginx-1.16.1;

        #charset koi8-r;

        #access_log  logs/host.access.log  main;


location / {
  auth_basic "Restricted";
  auth_basic_user_file E:/ELK/nginx-1.16.1/conf/password.txt;
  proxy_http_version 1.1;
  proxy_set_header Upgrade $http_upgrade;
  proxy_set_header Connection 'upgrade';
  proxy_set_header Host $host;
  proxy_cache_bypass $http_upgrade; 

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