# Kibana Custom Region Map Configurations

**URL:** <https://discuss.elastic.co/t/kibana-custom-region-map-configurations/206893>\
**Category:** Kibana\
**Created:** [November 7, 2019, 5:39am UTC](https://discuss.elastic.co/t/kibana-custom-region-map-configurations/206893 "2019-11-07T05:39:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ramya\_Tanikanti](https://avatars.discourse-cdn.com/v4/letter/r/9de053/32.png) [@Ramya\_Tanikanti](https://discuss.elastic.co/u/Ramya_Tanikanti)\
**Post date:** [November 7, 2019, 5:39am UTC](https://discuss.elastic.co/t/kibana-custom-region-map-configurations/206893/1 "2019-11-07T05:39:31Z")

</div>

I am really confused with where I should set this following piece of code "http-server --cors="kbn-version" -p 8000", where and when should I set this? In the Kibana.yml file? elasticsearch.yml file? Can't figure this out.

Kindly help, thanks.

---

<div class="post-metadata">

**Author:** ![Aaron\_Caldwell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron_caldwell/32/45755_2.png) [@Aaron\_Caldwell](https://discuss.elastic.co/u/Aaron_Caldwell)\
**Post date:** [November 7, 2019, 3:42pm UTC](https://discuss.elastic.co/t/kibana-custom-region-map-configurations/206893/2 "2019-11-07T15:42:59Z")

</div>

Hello Ramya,

That piece of code is a script for running an instance of a local test server for hosting a sample dataset. It's really just an example of a minimal server you might run locally to serve data, but really you could serve data from a number of different sources. To use it:

- [Install http-server](https://www.npmjs.com/package/http-server)
- Run the utility from your bash terminal from the same folder as your downloaded data (assuming you've downloaded data from [this blog](https://www.elastic.co/blog/custom-region-maps-in-kibana-6-0))

The remaining instructions regarding how to consume the data would pretty closely follow the linked blog.

Regards,  
Aaron

---

<div class="post-metadata">

**Author:** ![Ramya\_Tanikanti](https://avatars.discourse-cdn.com/v4/letter/r/9de053/32.png) [@Ramya\_Tanikanti](https://discuss.elastic.co/u/Ramya_Tanikanti)\
**Post date:** [November 8, 2019, 4:13am UTC](https://discuss.elastic.co/t/kibana-custom-region-map-configurations/206893/3 "2019-11-08T04:13:20Z")

</div>

Thanks @Aaron_Caldwell

---

<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:** [December 6, 2019, 4:13am UTC](https://discuss.elastic.co/t/kibana-custom-region-map-configurations/206893/4 "2019-12-06T04:13:24Z")

</div>

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