virtualMachineelk

Make the Kibana dashboard public

NOTE: For security reasons, we do not recommend disabling authentication.

By default, you will be prompted for a username and password every time you access the Kibana dashboard. This can create problems if, for example, you wish to embed Kibana data in other pages.

To disable the authentication prompt, modify the Location directive URL from / to /elasticsearch in the following Kibana Virtual Host files for Apache:

  • /opt/bitnami/apache/conf/vhosts/kibana-vhost.conf
  • /opt/bitnami/apache/conf/vhosts/kibana-https-vhost.conf

With this change, the Kibana dashboard will be publicly accessible while Elasticsearch will keep being protected with basic HTTP authentication.

Then, restart Apache to apply the changes by running the command below:

    $ sudo /opt/bitnami/ctlscript.sh restart apache
Last modification December 21, 2022