# Geoloc dans une Vue Maps de Kibana à partir d'indicatifs pays de numéros de téléphones d'appelants

**URL:** <https://discuss.elastic.co/t/geoloc-dans-une-vue-maps-de-kibana-a-partir-dindicatifs-pays-de-numeros-de-telephones-dappelants/238529>\
**Category:** Discussions en français\
**Created:** [June 24, 2020, 4:12pm UTC](https://discuss.elastic.co/t/geoloc-dans-une-vue-maps-de-kibana-a-partir-dindicatifs-pays-de-numeros-de-telephones-dappelants/238529 "2020-06-24T16:12:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rbeg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rbeg/32/56818_2.png) [@rbeg](https://discuss.elastic.co/u/rbeg)\
**Post date:** [June 24, 2020, 4:12pm UTC](https://discuss.elastic.co/t/geoloc-dans-une-vue-maps-de-kibana-a-partir-dindicatifs-pays-de-numeros-de-telephones-dappelants/238529/1 "2020-06-24T16:12:45Z")

</div>

Bonjour,

Qui pourrait m'expliquer svp comment à partir de documents indexés dans elasticsearch qui contiennent un champ renseignant sur l'indicatif pays d'un numéro de téléphone (exemple 0033 pour la France, 0034 pour l'Espagne, etc... ) afficher la proportion des documents par pays (count) dans une Maps dans Kibana ?

J'ai trouvé quelques tutos qui expliquent comment le faire à partir d'une IP mais est-il possible de faire sa propre correspondance : Indicatif pays -\> geopoint.

Je songe à ajouter un champ geopoint dans mon index en faisant une sorte de jointure Indicatif pays -\> geopoint directement dans logstash car mes document à indexer ne contiennent pas de champ de type geopoint. Est-ce faisable ça dans logstash ? Qui pourrait m'aider.

Ici je peut récupérer l'association indicatif pays / pays : [https://fr.wikipedia.org/wiki/Liste\_des\_indicatifs\_téléphoniques\_internationaux\_par\_pays](https://fr.wikipedia.org/wiki/Liste_des_indicatifs_t%C3%A9l%C3%A9phoniques_internationaux_par_pays)  
J'ai également une table qui contient l'association indicatif pays / code pays au format ISO 3166 :  
[https://fr.wikipedia.org/wiki/ISO\_3166](https://fr.wikipedia.org/wiki/ISO_3166)

Par avance merci pour votre aide.

---

<div class="post-metadata">

**Author:** ![thomasneirynck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomasneirynck/32/23313_2.png) [@thomasneirynck](https://discuss.elastic.co/u/thomasneirynck)\
**Post date:** [June 25, 2020, 9:41pm UTC](https://discuss.elastic.co/t/geoloc-dans-une-vue-maps-de-kibana-a-partir-dindicatifs-pays-de-numeros-de-telephones-dappelants/238529/2 "2020-06-25T21:41:17Z")

</div>

hi @rbeg

ceci ne sera pas un réponse en francais, c'est un petit peu difficile pour moi. Mais c'est tout-a-fait possible avec Kibana Maps. Esperons quelqu'un d'autre peut produire une traduction 😬

* * *

You'll probably want to follow this tutorial:

[https://www.elastic.co/guide/en/kibana/current/maps-add-choropleth-layer.html](https://www.elastic.co/guide/en/kibana/current/maps-add-choropleth-layer.html)

The data you'll find here [https://maps.elastic.co/#file/world\_countries](https://maps.elastic.co/#file/world_countries), does _not_ have telephone-codes associated with it. So you'll likely want to join on the iso-3166 field.

---

<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:** [July 23, 2020, 9:41pm UTC](https://discuss.elastic.co/t/geoloc-dans-une-vue-maps-de-kibana-a-partir-dindicatifs-pays-de-numeros-de-telephones-dappelants/238529/3 "2020-07-23T21:41:18Z")

</div>

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