External Elasticsearch
Kibana dashboard does not work after configuring external Elasticsearch.
Kibana dashboard is not working after configuring external Elasticsearch.
Resolution:
- Set the
apigw.kibana.autostart setting in the
uiconfiguration.properties file to
false.
This step prevents the Elasticsearch configuration being reset to localhost.
- In the
kibana.yml file found in the
SAGInstallDir\profiles\IS_default\apigateway\dashboard\config
location, update the following field to the corresponding external
Elasticsearch URL:
Replace localhost with the system name or IP address where Elasticsearch is running and 9240 with the corresponding Elasticsearch port number.elasticsearch.hosts: "http://localhost:9240"
- In the
uiconfiguration.properties file found in the
SAGInstallDir\profiles\IS_default\apigateway\config
folder, provide the same external Elasticsearch URL in the following field:
This must be same as the value provided in the previous step.apigw.es.url=http://localhost:11140
- Start Kibana by running
the
kibana.bat (Windows) or
kibana.sh (Linux) file from the following
location:
SAGInstallLocation\profiles\IS_default\apigateway\dashboard\bin.
Note: As the Kibana autostart is disabled in the first step, you must start Kibana manually everytime.
Alternative resolution:
- You can externalize the external Elasticsearch and Kibana configurations. For information on externalizing, see Externalizing Configurations.