External Elasticsearch

Kibana dashboard does not work after configuring external Elasticsearch.

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 Elasticsearch configuration being reset to localhost.

  2. 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:
    elasticsearch.hosts: "http://localhost:9240"
    Replace localhost with the system name or IP address where Elasticsearch is running and 9240 with the corresponding Elasticsearch port number.
  3. 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:
    apigw.es.url=http://localhost:11140
    This must be same as the value provided in the previous step.
  4. 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.