# Geoip to geopoint

**URL:** <https://discuss.elastic.co/t/geoip-to-geopoint/236218>\
**Category:** Elastic Stack\
**Created:** [June 8, 2020, 6:55pm UTC](https://discuss.elastic.co/t/geoip-to-geopoint/236218 "2020-06-08T18:55:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rushabh\_Doshi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rushabh_doshi/32/69886_2.png) [@Rushabh\_Doshi](https://discuss.elastic.co/u/Rushabh_Doshi)\
**Post date:** [June 8, 2020, 6:55pm UTC](https://discuss.elastic.co/t/geoip-to-geopoint/236218/1 "2020-06-08T18:55:23Z")

</div>

geoip{  
source =\> "IP"  
}

how can i covert geo ip to geo point, as map is not accepting geoip

what i need to add in logstash or fields.yml, i am using elk stack 7.X

Need help

---

<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:** [June 9, 2020, 3:41am UTC](https://discuss.elastic.co/t/geoip-to-geopoint/236218/2 "2020-06-09T03:41:39Z")

</div>

Hello Rushabh,

We have a blog covering exactly this subject [here](https://www.elastic.co/blog/geoip-in-the-elastic-stack). It's a few years old but still worth a look. You might also want to take a look at our latest GeoIP Ingest docs [here](https://www.elastic.co/guide/en/elasticsearch/reference/7.x/geoip-processor.html). If the idea of ingest nodes is new to you, I'd back up and start with our docs around [those](https://www.elastic.co/guide/en/elasticsearch/reference/7.x/ingest.html).

Regards,  
Aaron

---

<div class="post-metadata">

**Author:** ![Rushabh\_Doshi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rushabh_doshi/32/69886_2.png) [@Rushabh\_Doshi](https://discuss.elastic.co/u/Rushabh_Doshi)\
**Post date:** [June 9, 2020, 7:51am UTC](https://discuss.elastic.co/t/geoip-to-geopoint/236218/3 "2020-06-09T07:51:51Z")

</div>

geoip{  
source =\> "IP"  
fields =\> ["longitude","latitude"]  
target =\> "client.geo.location"  
}

Used above config for geoip as per doc, fetched longitude and latitude and mapped it to a geo\_point(client.geo.location) still i dont see it in maps of kibana it says no results found after i select the field client.geo.location which is a geo\_point

In kibana the field client.geo.location looks like:

 ![Screenshot 2020-06-09 at 1.20.34 PM](https://us1.discourse-cdn.com/elastic/original/3X/8/f/8ffebffbf5c20610c917b9ed4fc0388179a58906.png)

---

<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:** [November 4, 2022, 8:01am UTC](https://discuss.elastic.co/t/geoip-to-geopoint/236218/4 "2022-11-04T08:01:37Z")

</div>


