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