Kibana
Overview
Kibana is the web interface available on the Clever Cloud’s platform to manage your Elastic Stack.
By default, you can enable Kibana when you create an Elastic Stack add-on.
Enable Kibana with your Elastic Stack add-on
Kibana can be enabled at the add-on creation. Choose “Create an add-on” > “Elastic Stack”. Select your plan, applications which will use the Elastic Stack and name the add-on. On the “options” step, enable Kibana. Then, confirm the options and your add-on will start with a Kibana instance.
Customize the Kibana configuration file
You can customize the Kibana configuration file by setting the CC_PRE_RUN_HOOK
environment variable. This variable will be executed before the Kibana instance starts. By default, it is:
CC_PRE_RUN_HOOK` = `curl https://api.clever-cloud.com/v2/providers/es-addon/kibana-setup/<your elastic version> | sh`
To modify this default configuration (Configuration file for Kibana 8.3.3), you need to host your own config file (we strongly recommend Cellar).
Check other available configuration file on GitHub.
Tip
If you use a custom configuration file, host it from your own Cellar add-on or any other trusted source.
Disable SSO authentication
To disable SSO authentication and use elastic users instead, you need to modify Kibana’s configuration file. We provide an example configuration file for Kibana 8.3.3:
Remember, you need to ask Clever Cloud Support team to grant superuser permissions to your user. After that, you will be able to add additional users via Kibana.
Multiple authentication methods
If you need to allow for multiple authentication methods to your Kibana, you need to modify Kibana’s configuration. We provide an example configuration file for Kibana 8.10.2:
Add custom domain name
You need to disable SSO authentication first. Then, you will be able to add a custom domain name in “Domain name” tab of your Kibana app.
Deploy Kibana on localhost
The Kibana version should match with the ElasticSearch version.
Follow these steps :
- Download/unzip Kibana in version which match with your Elastic Stack version
- Edit kibana.yml :
- line 43 :
elasticsearch.host: <elastic-addon-host>:443
- line 49 :
elasticsearch.username: kibana
- line 50 :
elasticsearch.password: <password>
- Launch Kibana (
<path_to_kibana>/bin/kibana
)
- line 43 :
- Go to Kibana through the dedicated local address:
http://localhost:5601
- Connect to ElasticSearch with your Elastic username and password
Did this documentation help you ?