Kibana

Kibana Droplet 1-Click allows you to create a ready-to-use instance of Kibana in a matter of a minute. Kibana Droplet 1-Click pairs perfectly with ElasticSearch Droplet 1-Click as all necessary information for configuration is displayed on your SSH connection.

Software Included

Package Version License
Kibana Latest Dual license: Server Side Public License and Elastic License 2.0

Creating an App using the Control Panel

Click the Deploy to DigitalOcean button to create a Droplet based on this 1-Click App. If you aren’t logged in, this link will prompt you to log in with your DigitalOcean account.

Deploy to DO

Creating an App using the API

In addition to creating a Droplet from the Kibana 1-Click App using the control panel, you can also use the DigitalOcean API. As an example, to create a 4GB Kibana Droplet in the SFO2 region, you can use the following curl command. You need to either save your API access token) to an environment variable or substitute it in the command below.

curl -X POST -H 'Content-Type: application/json' \
         -H 'Authorization: Bearer '$TOKEN'' -d \
        '{"name":"choose_a_name","region":"sfo2","size":"s-2vcpu-4gb","image": "sharklabs-kibana"}' \
        "https://api.digitalocean.com/v2/droplets"

Getting Started After Deploying Kibana

On your first SSH login to the droplet or launch of the Droplet console of your Kibana Droplet 1-Click, you will be greeted by the ElasticSearch Droplet 1-Click Message-Of-The-Day (MOTD). MOTD includes useful information such as dashboard address and verification code to configure ElasticSearch with Kibana Droplet 1-Click.

If MOTD becomes inaccessible, you can always retrieve the verification code by running this command:

$ /usr/share/kibana/bin/kibana-verification-code

Make sure to give your Kibana Droplet 1-Click a minute after creation to start all the services.

Connecting Kibana Droplet 1-Click with ElasticSearch Droplet 1-Click

After you have created both Kibana and ElasticSearch Droplet 1-Click, SSH into ElasticSearch Droplet and copy the Kibana enrollment token from the MOTD:

Kibana enrollment token

Next, open the Kibana dashboard in your browser http://<your kibana droplet ip>:5601. You will be greeted by the configuration page where you can enter the enrollment token:

kibana configuration page

Click Configure Elastic and Kibana will ask you for the verification code. You can retrieve it by connecting to your Kibana Droplet 1-Click via SSH and copying the verification code from the MOTD:

kibana verification code

Type the verification code in the Kibana dashboard and click Verify:

kibana verification success

After this, your Kibana Droplet 1-Click will be configured to talk to your ElasticSearch Droplet 1-Click. If it gets stuck on Completing setup for more than 1 minute, just refresh the page.

kibana setup

The next step will require you to authenticate. Head back to your ElasticSearch Droplet terminal and copy parameters for the elastic user:

elastic credentials

Enter these credentials in Kibana, click Log In button and you will be welcomed by a configured and ready-to-use Kibana dashboard.

Droplet Summary

  • UFW firewall allows only SSH (port 22, rate limited), and 5601 (Kibana server) access.
  • Kibana is installed as an APT package.
  • To check the status of the Kibana, use:
$ systemctl status kibana.service
  • Kibana is listening to 0.0.0.0 by default.