Create a region map based on country code

Continuing the discussion from Kibana dashboard of "Elastic for Operational Analytics" webinar:

I have tried to create a region map using the requestCountry attribute containing the request's country. That attribute holds the two letters ISO code (FR, US, BE, etc).

I am afraid that the doc didn't help me, perhaps I am looking at the wrong place?

hi @snicoll,

that should work ok. the default world map has a two digit country code as well.

the docs are here: https://www.elastic.co/guide/en/kibana/current/_configuration_2.html

In the Data-tab, you would do terms-aggregation on your requestCountry-field and then select the iso-2 field in the Options-tab.

Thanks for the reply.

Sorry I am still confused :frowning:

This is my data tab:
data

On my instance, the vector map is empty. Am I supposed to select something there?
vector

Regardless it does not work. I guess it's trying to highlight US state or something? When I click on vector map, I have an empty list and nothing to select. I am on elastic cloud with Kibana 5.5.2.

Thanks!

hi @snicoll,

You are running into this known bug: https://github.com/elastic/kibana/pull/13931.

It has been fixed but will only be available at the next patch release. This usually takes a couple of weeks. Apologies for the inconvenience.

If you can, you can try and run 5.5.1 instead.

1 Like

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