Configuring Kibana to Work With CloudBees Analytics

Kibana is a free open-source analytics and visualization tool. You can install and configure Kibana to access the CloudBees Analytics Elasticsearch instance. This section shows how to configure Kibana for this purpose.

Configuring the Kibana Server

  1. Install the Kibana server.

    This must be the same version as the Elasticsearch version used by CloudBees Analytics. For download and installation details, see https://www.elastic.co.

  2. Open the kibana.yml file.

    This file is typically in the /etc/kibana directory if Kibana was installed via a repository or in the /opt/kibana/config directory if extracted from a .zip archive.

  3. Change the elasticsearch.url property to point to the Elasticsearch service on the machine where CloudBees Analytics is installed.

    Use the port number configured for Elasticsearch (port 9200 by default) in the URL. For example:

    elasticsearch.url: "https://localhost:9200"

    or

    elasticsearch.url: "https://.com:9200".
  4. Set the elasticsearch.username and elasticsearch.password properties.

    Use the user name kibanauser and the password ( changeme by default) that you configured for the reporting user during CloudBees Analytics installation. For example:

    elasticsearch.username: "kibanauser"
    elasticsearch.password: "changeme"
  5. Disable the certificate validation.

    To do so, set the elasticsearch.ssl.verificationMode property as follows:

    elasticsearch.ssl.verificationMode: none
  6. (Optional) Specify the IP address that the Kibana server should listen to.

    If the Kibana server should listen to all IPv4 addresses, set it to 0.0.0.0 as follows:

    server.host: "0.0.0.0"

Verifying the Kibana Server Configuration

  1. Start the Kibana server.

  2. Browse to the Kibana web application.

    In the URL, use the machine where Kibana is running and the port number (5601 by default). For example, enter localhost:5601 or https://<your_domain>.com:5601.

  3. Log into the Kibana web application to verify that you can access the CloudBees Analytics data.

    Log in as kibanuser, and enter the password specified during CloudBees Analytics installation.

The kibanauser user can access only the ef-* indices (but not indices such as searchguard-* and logstash-*). In the Elasticsearch log, this access limitation might cause errors to appear, which you can ignore.