commit | a8ad08a560ca88565c19b963e3a682ea1b98de46 | [log] [tgz] |
---|---|---|
author | Antonio Barone <syntonyze@gmail.com> | Fri Apr 05 17:47:15 2019 +0100 |
committer | Antonio Barone <syntonyze@gmail.com> | Fri May 10 12:58:03 2019 +0100 |
tree | ad34df3341b39cde3b862193aa05cc9af189c0a8 | |
parent | 0bb5e255ca074adc7414d5dee45aa99b65b1cf13 [diff] |
Add ability to configure multiple kibana dashboards Exploit kibana spaces, which allows to run multiple kibana dashboards separate from each others. Please note that this change does not prevent kibana dashboards to have visibility on elasticsearch indexes beyond the namespace they currently are configured for. Authorization will be added in future releases. Feature: Issue 9865 Change-Id: I02938a0c4ed38d84a47d5cc181443807e66c5e4a
The goal of this project is to provide the tools to manage and configure kibana dashboard(s) aimed to visualize analytics on project contributions. Kibana configuration is maintained in elasticsearch so, in reality, this project will talk to the elasticsearch instance which kibana is connected to.
For the time being, this project allows to configure only one type of dashboard:
To get you running in no time, this project also provides a way to spin up a local environment with elasticsearch and kibana:
cd local_environment docker-compose up
this will start:
and will also configure the dashboard for you so that you already have all the mappings, the kibana settigs and the main visualizations and dashboard already configured. Just browse to http://localhost:5601
to see the configured dashboard.
At this point the dashboard will still be empty. If you want to populate it with data you might want to run the GIT commits ETL
To configure a kibana dashboard you can simply point the setup script to the target elasticsearch as follows
make restore [ELASTICSEARCH_URL] [ELASTICSEARCH_PORT] [NAMESPACE]
http://host.docker.internal
(the current host running docker)A namespace is a string that will be postifxed to elassticsearch indexes. This allows to configure multiple kibana instances against the same elasticsearch instance without collision of names. For example, if you use the namespace foo, this will configure in order:
If you make some changes to kibana and you want to dump them on disk for later use you can just run:
make dump [ELASTICSEARCH_URL] [ELASTICSEARCH_PORT]
http://host.docker.internal
(the current host running docker)For example to dump the configuration of kibana spinned up via local environment you can simply run:
cd analytics-setup make dump
This will save any changes to kibana-config/analytics-settings-dashboards-visualizations.data.json
This project is licensed under the Apache License, Version 2.0 License - see the LICENSE file for details