elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.82k stars 8.2k forks source link

Default world country map does not contain all countries #12717

Closed outcoldman closed 7 years ago

outcoldman commented 7 years ago

Kibana version: 5.5.0

Elasticsearch version: 5.5.0

Server OS version: Kubernetes

Browser version: Safari 10.1.1

Browser OS version: macOS 10.12.5

Original install method (e.g. download page, yum, from source, etc.): download

I have tried to use Region Map with the output from logstash plugin (I had the data generated by logstash 5.4.3 and 5.5.0) and got a warnings

When I tried to match ~140 countries there did not match

Region map: Could not show 18 results on the map. To avoid this, ensure that each term can be joined to a corresponding shape on that shape's join field. Could not join following terms: SG,HK,RE,BH,MT,CC,MU,AG,SC,GP,KN,ST,XK,CV,BQ,JE,MF,MO

With the matching by country name 27 unmatched


Region map: Could not show 27 results on the map. To avoid this, ensure that each term can be joined to a corresponding shape on that shape's join field. Could not join following terms: Czechia,Republic of Korea,Singapore,Hong Kong,Republic of Lithuania,Slovak Republic,Republic of Moldova,Bosnia and Herzegovina,Dominican Republic,Myanmar [Burma],Réunion,Bahrain,Hashemite Kingdom of Jordan,Malta,Cocos [Keeling] Islands,Mauritius,Antigua and Barbuda,Seychelles,Guadeloupe,Ivory Coast,Saint Kitts and Nevis,São Tomé and Príncipe,Cape Verde,Bonaire, Sint Eustatius, and Saba,Jersey,Macao,Saint Martin

Not sure if that is logstash issue or kibana. Or just the data generated by logstash 5.4.3

thomasneirynck commented 7 years ago

The region map is based on natural earth data and does not include all countries. E.g. small city states and island countries are missing from the natural earth data: for example Singapore (SG), Hong Kong (HK), Reunion (RE).

You can also turn off the error message in the advanced settings. Switch visualization:regionmap:showWarnings to false

willgitformoney commented 7 years ago

whats the work around for this? I have data in Singapore I would like to display.

thomasneirynck commented 7 years ago

hi @willgitformoney, you can host your own file, and configure it in the kibana.yml.

https://www.elastic.co/guide/en/kibana/5.5/_configuration_2.html https://www.elastic.co/guide/en/kibana/5.5/settings.html#regionmap-settings

thomasneirynck commented 7 years ago

An updated country file was published on EMS today

ghost commented 7 years ago

Still missing SS (South Sudan).

thomasneirynck commented 7 years ago

@CloseAtHand yes, South Sudan is still missing. We rely on 3rd party data. Would you mind opening a separate issue for this?