The Error said, "Cannot download Indonesia States file. Please ensure the CORS configuration of the server permits requests from the Kibana application on this host."
I have checked my geojson web-server cors and the result is fine, the 'Access-Control-Allow-Origin' '*' already configured and work properly.
`curl -H "Access-Control-Request-Method: GET" -H "Origin: http://10.60.185.217:5601" --head http://10.60.185.217:82/indonesia.geojson
HTTP/1.1 200 OK
Server: nginx/1.10.3 (Ubuntu)
Date: Fri, 21 Jun 2019 09:21:43 GMT
Content-Type: application/octet-stream
Content-Length: 299798
Last-Modified: Fri, 21 Jun 2019 02:24:00 GMT
Connection: keep-alive
ETag: "5d0c3fc0-49316"
Access-Control-Allow-Origin: kbn-version
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: Content-Type,Accept
Access-Control-Allow-Methods: GET, POST, OPTIONS, PUT, DELETE
Accept-Ranges: bytes`
And this is my kibana.yml settings:
# Custom Region Maps regionmap: layers: - name: "Indonesia States" url: "http://10.60.185.217:82/indonesia.geojson" attribution: "https://raw.githubusercontent.com/superpikar/indonesia-geo$ fields: - name: "state" description: "state"
Is there any something that I missed?
Thank you for helping.