Remote access to Kibana6.3.2

Hi,
I have installed ELK6 (elasticsearch, logstash and kibana) in a VM CentOS7. All the .yml are set to localhost.
I did copy the /kibana in /var/www/html/ and then created a dot conf in /etc/httpd/conf.d/ to reverse proxy when connecting to the ELK host with its IP@. The .conf looks like:

<VirtualHost *:80>
ServerName sv014335.info.ratp

DocumentRoot /var/www/html/kibana6

<Directory /var/www/html/kibana>

Allow from all

Options -Multiviews

ProxyPreserveHost On
ProxyRequests On
ProxyPass /kibana http://localhost:5601/kibana
ProxyPassReverse /kibana http://localhost:5601/kibana

AuthType Basic
AuthBasicProvider file
AuthName "Restricted"
AuthUserFile /etc/httpd/conf.d/kibana-htpasswd
Require valid-user

I still cannot get the Kibana welcome page.
Can anyone help.
Thanks in advance.

Kibana is a NodeJS application, and by copying the application to /var/www/html I think that would tell Apache[0] to serve it as a static website. There isn't any part of Kibana that would work as a "DocumentRoot"

I think you're not able to see the welcome page because Kibana is not running. You might need to have a service that starts it, and to confirm that it is running using a browser or curl. Then make your reverse proxy send its connections to the IP/port that the Kibana application is running on.

By the way, your Apache configuration isn't shown clearly - you'll need to mark it up by wrapping the text in backticks: ```

[0] I haven't used Apache virtual hosts in a long time, but I'm assuming the configuration you're showing is an Apache configuration.

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