Hi,
I run ELK on liunx (CetnOS7) server in intranet environment.
Because of intranet environment, all original Map in Kibana not work.
So I want to use custom map in Kibana.
I download map geojson file form https://exploratory.io/map
I set this in kibana.yml
:
#Custom Region Maps
map.regionmap:
includeElasticMapsService: false
layers:
- name: "World Map"
url: "http://localhost:8080/world.geojson"
attribution: "https://exploratory.io/map"
fields:
- name: "WORLD"
description: "world map"
server.cors : true
server.cors.origin: "*"
The url is working because when I type in browser, it will download a file world.geojson
And set this in elasticsearch.yml
http.cors.enabled: true
http.cors.allow-origin: "*"
http.cors.allow-methods: OPTIONS, HEAD, GET, POST, PUT, DELETE
http.cors.allow-headers: X-Requested-With, X-Auth-Token, Content-Type, Content-Length, kbn-version, Origin, Content-Type, Accept, Engaged-Auth-Token
But when I open Maps in Kibana, it shows blank background.
And when I open region map in Kibana-Visualize, it also shows blank background with:
Error downloading vector data
Cannot download World Map file. Please ensure the CORS configuration of the server permits requests from the Kibana application on this host
How could I fix it?
Thank you!