After installation Kibana directly can access, this is not conducive to security, next we use Apache Password Authentication for security configuration
The Apache configuration file is as follows:
<VirtualHost *:8080> DocumentRoot /data/kibana ServerName localhost ErrorLog "/data/kibana/logs/kibana-error.log" customlog "/data/kibana/logs/kibana-access.log" common <directory "/data/kibana" > Options Indexes allowoverride authconfig authtype basic AuthName "Authenticated proxy" authuserfile / data/kibana/.htpasswd require valid-user order allow,deny allow from all</ Directory></viRtualhost>
authuserfile/data/kibana/.htpasswd
This is the file we want to store the password in.
Next generate the password
#htpasswd-C/data/kibana/.htpasswd user#new password: #Re-type New Password: #Adding password for user Bidduser
So we can generate a password for the user.
Visit again to see
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/70/E1/wKioL1XAgKWyrulHAAPF6WsvKG0123.jpg "title=" Kibana-login.png "alt=" Wkiol1xagkwyrulhaapf6wsvkg0123.jpg "/>
This article is from the "xiangcun168" blog, make sure to keep this source http://xiangcun168.blog.51cto.com/4788340/1681640
Kibana Apache Password Authentication Login