I am trying to create a custom regional map in Kibana. I have imported the necessary GeoJSON map into Kibana. I have also joined the proper field in the GeoJSON file to match the appropriate field in the corresponding Elastic Search index pattern.
However, I keep getting the following error :
Cannot download http://localhost:8000/Liberian_Counties.geojson file. Please ensure the CORS configuration of the server permits requests from the Kibana application on this host .
I have enabled CORS in the Elastic Search YML file but the error still persists.
My Kibana Configuration Settings for the custom map is shown below:
Custom Region Maps
My Elastic Search Configuration Settings for enabling CORS is shown below:
I haved also checked the values in both the elasticsearch index pattern and the values in the GeoJSON file to ensure that they are exactly the same. However, the error still persists.
I would be grateful if anyone could please help to solve this problem as I am at a crossroad.