This repository has been archived by the owner on May 23, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 60
KibanaGuide
wesyoung edited this page Jan 1, 2015
·
14 revisions
Since CIF is built upon ElasticSearch, Kibana can be installed to talk directly to the ElasticSearch instance and create some eye-candy:
Keep in mind, if you're going to run Kibana on the same host as CIF, you might need to alter the default proxy paths in /etc/apache2/cif.conf
as by default, the CIF API runs under /
. It might be best to run kibana under a different host or the API as a separate virtual host
ProxyPass /api http://localhost:5000/ keepalive=Off
ProxyPassReverse /api http://localhost:5000/
- install Kibana3 into
/var/www/kibana
- integrate with a webserver
<Location /kibana>
Allow from all
Options -Multiviews
</Location>
- read the guide
- copy the demo CIF dashboard
$ sudo cp contrib/kibana-dashboard.json /var/www/kibana/app/dashboards/cif.json
$ sudo chown -R www-data:www-data /var/www/kibana/app/dashboards/cif.json
- log into the demo dash:
https://localhost/kibana/index.html#/dashboard/file/cif.json
- Make sure the permissions are correct for
/var/www/kibana
- If you're using apache, make sure mod-proxy is enabled (ubuntu:
libapache2-mod-proxy-html
) - with apache, this can be included in
sites-enabled/default-ssl
as anInclude
directive to/etc/apache2/kibana.conf
where the sample apache config can be placed.
<VirtualHost *:80>
ServerAdmin webmaster@localhost
Include /etc/apache2/cif.conf
Include /etc/apache2/kibana.conf
DocumentRoot /var/www
...