OpenSearch Dashboards is a free open-source analytics and visualization tool. You can install and configure OpenSearch Dashboards to access the CloudBees Analytics OpenSearch instance. This section shows how to configure OpenSearch Dashboards for this purpose.
Configuring the OpenSearch Dashboards Server
IPv6 addresses are only supported for Kubernetes platforms. If using an IPv6 address, enclose the address in square brackets. Example: [<IPv6-ADDRESS>].
|
-
Install the OpenSearch Dashboards server.
This must be the same version as the OpenSearch version used by CloudBees Analytics. For download and installation details, see https://opensearch.org/docs/latest/install-and-configure/install-dashboards/index/
-
Open the
opensearch_dashboards.ymlfile.This file is typically in the
/etc/opensearch-dashboardsdirectory if OpenSearch Dashboards was installed via a repository or in the./configdirectory if extracted from a.ziparchive. -
Change the
opensearch.hostsproperty to point to the OpenSearch service on the machine where CloudBees Analytics is installed.Use the port number configured for OpenSearch (port 9201 by default) in the URL. For example:
opensearch.hosts: ["https://localhost:9201"]or
opensearch.hosts: ["https://<your_domain>.com:9201"] -
Set the
opensearch.usernameandopensearch.passwordproperties.Use the user name
kibanauserand the password (changemeby default) that you configured for the reporting user during CloudBees Analytics installation. For example:opensearch.username: "kibanauser"opensearch.password: "changeme" -
Disable the certificate validation.
To do so, set the
opensearch.ssl.verificationModeproperty as follows:opensearch.ssl.verificationMode: none -
(Optional) Specify the IP address that the OpenSearch Dashboards server should listen to.
-
If the OpenSearch Dashboards server should listen to all IPv4 addresses, set it to
0.0.0.0as follows:server.host: "0.0.0.0" -
If the OpenSearch Dashboards server should listen to all IPv6 addresses, set it to
::as follows:server.host: "::"
-
Verifying the OpenSearch Dashboards Server Configuration
-
Start the OpenSearch Dashboards server.
-
Browse to the OpenSearch Dashboards web application.
In the URL, use the machine where OpenSearch Dashboards is running and the port number (
5601by default). For example, enterlocalhost:5601orhttps://<your_domain>.com:5601. -
Log into the OpenSearch Dashboards 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 .opendistro_security). In the OpenSearch log, this access limitation might cause errors to appear, which you can ignore.
|