# Kibana.yml map.regionmap

**URL:** <https://discuss.elastic.co/t/kibana-yml-map-regionmap/300935>\
**Category:** Kibana\
**Tags:** maps\
**Created:** [March 29, 2022, 9:02am UTC](https://discuss.elastic.co/t/kibana-yml-map-regionmap/300935 "2022-03-29T09:02:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rhsnfl1122](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rhsnfl1122/32/103395_2.png) [@rhsnfl1122](https://discuss.elastic.co/u/rhsnfl1122)\
**Post date:** [March 29, 2022, 9:02am UTC](https://discuss.elastic.co/t/kibana-yml-map-regionmap/300935/1 "2022-03-29T09:02:38Z")

</div>

I'm using Kibana version 8.1.0

In my kibana.yml, I append code as follow for use "configured GeoJSON menu"

```auto
map.regionmap:
  layers:
    - name: "SEOUL ZIPCODE"
      url: "http://localhost/TL_KODIS_BAS_11.geojson"
      attribution: "INRAP"
      fields:
          - name: "BAS_MGT_SN"
            description: "zipcode number"

```

I got a problem as follow

```auto
[FATAL][root] Error: [config validation of [map].regionmap]: definition for this key is missing
    at ObjectType.validate (/home/jdh/kibana-8.1.0/node_modules/@kbn/config-schema/target_node/types/type.js:95:13)
    at ConfigService.validateAtPath (/home/jdh/kibana-8.1.0/node_modules/@kbn/config/target_node/config_service.js:228:19)
    at MapSubscriber.project (/home/jdh/kibana-8.1.0/node_modules/@kbn/config/target_node/config_service.js:236:169)
    at MapSubscriber._next (/home/jdh/kibana-8.1.0/node_modules/rxjs/internal/operators/map.js:49:35)
    at MapSubscriber.Subscriber.next (/home/jdh/kibana-8.1.0/node_modules/rxjs/internal/Subscriber.js:66:18)
    at DistinctUntilChangedSubscriber._next (/home/jdh/kibana-8.1.0/node_modules/rxjs/internal/operators/distinctUntilChanged.js:69:30)
    at DistinctUntilChangedSubscriber.Subscriber.next (/home/jdh/kibana-8.1.0/node_modules/rxjs/internal/Subscriber.js:66:18)
    at MapSubscriber._next (/home/jdh/kibana-8.1.0/node_modules/rxjs/internal/operators/map.js:55:26)
    at MapSubscriber.Subscriber.next (/home/jdh/kibana-8.1.0/node_modules/rxjs/internal/Subscriber.js:66:18)
    at ReplaySubject._subscribe (/home/jdh/kibana-8.1.0/node_modules/rxjs/internal/ReplaySubject.js:80:28)
    at ReplaySubject.Observable._trySubscribe (/home/jdh/kibana-8.1.0/node_modules/rxjs/internal/Observable.js:44:25)
    at ReplaySubject.Subject._trySubscribe (/home/jdh/kibana-8.1.0/node_modules/rxjs/internal/Subject.js:102:51)
    at ReplaySubject.Observable.subscribe (/home/jdh/kibana-8.1.0/node_modules/rxjs/internal/Observable.js:30:22)
    at MapSubscriber.shareReplayOperation (/home/jdh/kibana-8.1.0/node_modules/rxjs/internal/operators/shareReplay.js:48:32)
    at Observable.subscribe (/home/jdh/kibana-8.1.0/node_modules/rxjs/internal/Observable.js:25:31)
    at MapOperator.call (/home/jdh/kibana-8.1.0/node_modules/rxjs/internal/operators/map.js:32:23)
    at Observable.subscribe (/home/jdh/kibana-8.1.0/node_modules/rxjs/internal/Observable.js:25:31)
    at DistinctUntilChangedOperator.call (/home/jdh/kibana-8.1.0/node_modules/rxjs/internal/operators/distinctUntilChanged.js:27:23)
    at Observable.subscribe (/home/jdh/kibana-8.1.0/node_modules/rxjs/internal/Observable.js:25:31)
    at MapOperator.call (/home/jdh/kibana-8.1.0/node_modules/rxjs/internal/operators/map.js:32:23)
    at Observable.subscribe (/home/jdh/kibana-8.1.0/node_modules/rxjs/internal/Observable.js:25:31)
    at TakeOperator.call (/home/jdh/kibana-8.1.0/node_modules/rxjs/internal/operators/take.js:38:23)
    at Observable.subscribe (/home/jdh/kibana-8.1.0/node_modules/rxjs/internal/Observable.js:25:31)
    at ThrowIfEmptyOperator.call (/home/jdh/kibana-8.1.0/node_modules/rxjs/internal/operators/throwIfEmpty.js:30:23)
    at Observable.subscribe (/home/jdh/kibana-8.1.0/node_modules/rxjs/internal/Observable.js:25:31)
    at /home/jdh/kibana-8.1.0/node_modules/rxjs/internal/Observable.js:99:19
    at new Promise (<anonymous>)
    at Observable.toPromise (/home/jdh/kibana-8.1.0/node_modules/rxjs/internal/Observable.js:97:16)
    at ConfigService.isEnabledAtPath (/home/jdh/kibana-8.1.0/node_modules/@kbn/config/target_node/config_service.js:169:95)
    at PluginsService.handleDiscoveredPlugins (/home/jdh/kibana-8.1.0/src/core/server/plugins/plugins_service.js:203:25)
    at PluginsService.discover (/home/jdh/kibana-8.1.0/src/core/server/plugins/plugins_service.js:66:5)
    at Server.preboot (/home/jdh/kibana-8.1.0/src/core/server/server.js:159:30)
    at Root.preboot (/home/jdh/kibana-8.1.0/src/core/server/root/index.js:48:14)
    at bootstrap (/home/jdh/kibana-8.1.0/src/core/server/bootstrap.js:99:9)
    at Command.<anonymous> (/home/jdh/kibana-8.1.0/src/cli/serve/serve.js:216:5)

 FATAL Error: [config validation of [map].regionmap]: definition for this key is missing

```

how to fix it?

---

<div class="post-metadata">

**Author:** ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)\
**Post date:** [March 29, 2022, 12:28pm UTC](https://discuss.elastic.co/t/kibana-yml-map-regionmap/300935/2 "2022-03-29T12:28:04Z")

</div>

The region map visualization was removed from Kibana 8.0, hence all the related configuration settings are not valid anymore in `kibana.yml`.

Find more details in this [github issue](https://github.com/elastic/kibana/issues/81704).

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [March 29, 2022, 1:10pm UTC](https://discuss.elastic.co/t/kibana-yml-map-regionmap/300935/3 "2022-03-29T13:10:50Z")

</div>

@ [rhsnfl1122](https://discuss.elastic.co/u/rhsnfl1122)

You can create region maps with custom geojson in the [maps application](https://www.elastic.co/guide/en/kibana/current/maps.html).

Use [geojson upload](https://www.elastic.co/guide/en/kibana/current/import-geospatial-data.html#_upload_a_geojson_file) to index your `TL_KODIS_BAS_11.geojson` file into Elasticsearch. Then, create a new map and add a choropleth layer. Select "Points, lines, and polygons from Elasticsearch" as "Boundaries source". Set "Data view" to "TL\_KODIS\_BAS\_11".

More detailed instructions can be found at [Map custom regions with reverse geocoding | Kibana Guide [8.1] | Elastic](https://www.elastic.co/guide/en/kibana/current/reverse-geocoding-tutorial.html).

Hope that helps

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 26, 2022, 1:11pm UTC](https://discuss.elastic.co/t/kibana-yml-map-regionmap/300935/4 "2022-04-26T13:11:04Z")

</div>

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