Connecting to Kibana
Considerations when you configure an Kibana:
- Ensure the Kibana version is compatible with the Elasticsearch version as Kibana and Elasticsearch have a one-to-one mapping. For details on version compatibility, see Support Matrix.
You can have one of the following Kibana configurations:
- Kibana connected to external
Elasticsearch.
You can configure this setup as follows:
For an Kibana to connect to Elasticsearch you have to configure the following properties in the kibana.yml file where you have installed the Kibana.Note: The default index is .kibana and it is not configured by users.Property Description server.port: port number Specifies which server port to use. Example: 9405
server.host: server host IP address or host name Specifies the host to bind the server to. The default value is localhost, which means the remote machines will not be able to connect. To allow connections for remote users you must set this parameter to a non-loopback address.
Example: "0.0.0.0"
server.basePath: server path of the proxy Specifies the proxy setting to render the charts from the Kibana in webMethods API Gateway UI. The server path you specify must not end with a /.
Value: "/apigatewayui/dashboardproxy"
elasticsearch.hosts: http://hostname:port Specifies the URLs of the Elasticsearch instance to use for all your queries. Example: ["http://localhost:9240"]
- Kibana connected to an Elasticsearch.
You can configure this setup by using externalized configuration files. For details, see Using the Externalized Configuration Files.
Note: When using Elasticsearch and Kibana the startup of the components must follow the
following order:
- Start Elasticsearch and verify the cluster health.
- Start the webMethods API Gateway service.
- After webMethods API Gateway is started and available, start Kibana.