Still have problem Region Map

Hi evrybody, i got a bit confused about configuration of region map.
I download a shape file from a site elastic configuration region map page a file geojson of Brasil.
the file looks like:

{"type": "FeatureCollection","features": [
{"type": "Feature", "properties": {"id":3284,"nome":"CruzMachado","uf":"PR","populacao":"18040","pib":"145687","estado_id":"18","codigo_ibg":"4106803"},"geometry": { "type": "Polygon", "coordinates": [ [ [ -50.981679537086883, -25.665719405704625 ]

Follow the config page of elastic region map i put this code on my kibana.yml file:
- name: "Brazilian States"
url: "/home/sirox84/elk-local/br_muns.geojson"
attribution: ""
- name: "STATE_NAME"
description: "State Name"

One of you suggest to me to put this geojson file in:
The location of the geojson file as provided by a webserver.

But i don understand how can i do this step.
How i can setup and configure my kibana.yml file?

I have also to modify my logstash.conf?

Also now i read that there is a possibility to have a vector layer with elasti map service.
This is kind of differetn things?

Hope you can help me.
Thanks a lot.

Hey @Alberto_Sironi, has a section titled "Serving up Geojson File" which uses an npm library to do so.

Thanks a lot , i will try and i let you know.

Hi man, I did exactly what the page recommend to do.
but I got this error message even in the coordinate map that before was working.
Coordinate Map: Could not retrieve manifest from the tile service: status -1
I would like to make an important question regarding region maps.
Now finally I can run my geojson locally in a port 8000 perfect.
http-server --cors='*' -p 8000

The problem now is how to connect this geojson with my dataset.
I think with this field in the kibana.yml file

  • name: "STATE_NAME" but this name should be exactly like the name in my database?

Thanks a lot

Ok now i can visualyzed.
Thanks a lot.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.