Product/components used and version/fix level:
Version: | 10.3 and above |
---|---|
Operating System Family: | PC |
Operating System: | Windows Server 2016 |
Detailed explanation of the problem:
Unable to start Kibana after switching elasticsearch from the local installation to remotes installations.
There are two API Gateway servers clustered using TSA, three Internal Data Store servers clustered on remote separate hosts.
The local instance of Internal Data Store (elasticsearche) on the API Gateway servers is stopped with auto start set to false.
Error messages / full error message screenshot / log file:
The following Kibana startup error is seen:
"illegal_argument_exception] mapper [version] cannot be changed from type [long] to [integer]"
This suggests that the Kibana index in the external elasticsearch is not compatible.
kibana.yml updated -
The Elasticsearch instance to use for all your queries.
elasticsearch.url: “http://ESB10ESINUAT02:9240”
How can the index be rebuilt?
Should the gateway_default_dashboard* indexes be deleted?
Example -
curl -X DELETE http://localhost:9240/gateway_default_dashboard*