# Geo Point configuration

**URL:** <https://discuss.elastic.co/t/geo-point-configuration/103114>\
**Category:** Kibana\
**Created:** [October 7, 2017, 12:09pm UTC](https://discuss.elastic.co/t/geo-point-configuration/103114 "2017-10-07T12:09:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohsen\_Haghaieghshen](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@Mohsen\_Haghaieghshen](https://discuss.elastic.co/u/Mohsen_Haghaieghshen)\
**Post date:** [October 7, 2017, 12:09pm UTC](https://discuss.elastic.co/t/geo-point-configuration/103114/1 "2017-10-07T12:09:24Z")

</div>

Hi, I want to upload a CSV file into Elasticsearch which has been attached.

![dataset](https://us1.discourse-cdn.com/elastic/original/3X/e/d/edf46659f6ab242ca2d8649fca1f9ce6ee30f1d6.png)

The config file is:

 ![config_file](https://us1.discourse-cdn.com/elastic/original/3X/f/d/fda436d7503fb1b0bcc5935e576e1efbcd5ff1bf.png)

However, nothing is uploaded with no error.

Would you please guide me?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 7, 2017, 6:43pm UTC](https://discuss.elastic.co/t/geo-point-configuration/103114/2 "2017-10-07T18:43:48Z")

</div>

Please don't post pictures of text, they are difficult to read and some people may not be even able to see them.

---

<div class="post-metadata">

**Author:** ![Mohsen\_Haghaieghshen](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@Mohsen\_Haghaieghshen](https://discuss.elastic.co/u/Mohsen_Haghaieghshen)\
**Post date:** [October 7, 2017, 6:57pm UTC](https://discuss.elastic.co/t/geo-point-configuration/103114/3 "2017-10-07T18:57:45Z")

</div>

I found the solution. In fact, I had to add the following template to the Elasticsearch via Kibana's Dev Tools section.

PUT \_template/geo\_template  
{  
"template": "XXXX",  
"mappings": {  
"logs" : {  
"properties" : {  
"location" : {  
"type" : "geo\_point"  
}  
}  
}  
}  
}  
where "XXXX" is the name of index in the config file.

There is also no need to the line No. 17 and it should be deleted.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 7, 2017, 6:59pm UTC](https://discuss.elastic.co/t/geo-point-configuration/103114/4 "2017-10-07T18:59:29Z")

</div>

Yeah, Elasticsearch doesn't automap geo stuff natively unfortunately.

---

<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, 2017, 6:59pm UTC](https://discuss.elastic.co/t/geo-point-configuration/103114/5 "2017-11-04T18:59:33Z")

</div>

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