# How to add geo\_point type data to elasticsearch?

**URL:** https://discuss.elastic.co/t/how-to-add-geo-point-type-data-to-elasticsearch/2768
**Category:** Logstash
**Created:** [June 16, 2015, 8:08am UTC](https://discuss.elastic.co/t/how-to-add-geo-point-type-data-to-elasticsearch/2768 "2015-06-16T08:08:56Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Eric](https://avatars.discourse-cdn.com/v4/letter/e/898d66/32.png) [@Eric](https://discuss.elastic.co/u/Eric)
#### Post date: [June 16, 2015, 8:08am UTC](https://discuss.elastic.co/t/how-to-add-geo-point-type-data-to-elasticsearch/2768/1 "2015-06-16T08:08:56Z")

</div>

Hi, I'm a newbie for ELK.  
I want to add some custom geo search functions to my program. How do I filter custom lat and lng (now i have %{lat} and %{lng}) into elasticsearch geo\_type formated data so that I can visualize in Kibana4 tile map?

---

<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: [June 16, 2015, 10:23am UTC](https://discuss.elastic.co/t/how-to-add-geo-point-type-data-to-elasticsearch/2768/2 "2015-06-16T10:23:51Z")

</div>

It needs to be a single field for ES to be able to read it.

---

<div class="post-metadata">

### Author: ![Eric](https://avatars.discourse-cdn.com/v4/letter/e/898d66/32.png) [@Eric](https://discuss.elastic.co/u/Eric)
#### Post date: [June 17, 2015, 8:01am UTC](https://discuss.elastic.co/t/how-to-add-geo-point-type-data-to-elasticsearch/2768/3 "2015-06-17T08:01:02Z")

</div>

It seems kibana 4 tile map views only show ES "geo\_point" type points. The float array which works with Bettermap now is not working with kibana4 tile map. So how do i add a geo\_point type field from logstash?

---

<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: [June 17, 2015, 8:02am UTC](https://discuss.elastic.co/t/how-to-add-geo-point-type-data-to-elasticsearch/2768/4 "2015-06-17T08:02:11Z")

</div>

Take a look at [Set geo location from coodinates](https://discuss.elastic.co/t/set-geo-location-from-coodinates/2762/4?u=warkolm)

---

<div class="post-metadata">

### Author: ![Nikolay\_Shushkin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nikolay_shushkin/32/13809_2.png) [@Nikolay\_Shushkin](https://discuss.elastic.co/u/Nikolay_Shushkin)
#### Post date: [July 4, 2016, 3:26pm UTC](https://discuss.elastic.co/t/how-to-add-geo-point-type-data-to-elasticsearch/2768/5 "2016-07-04T15:26:22Z")

</div>

It is cycled out.  
Is it possible to get geo\_point data in Elasticsearch using logstash creting new index?

---

<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: [July 4, 2016, 9:22pm UTC](https://discuss.elastic.co/t/how-to-add-geo-point-type-data-to-elasticsearch/2768/6 "2016-07-04T21:22:56Z")

</div>

This thread is a year old, please create a new one.

---

<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 6, 2017, 4:49am UTC](https://discuss.elastic.co/t/how-to-add-geo-point-type-data-to-elasticsearch/2768/7 "2017-07-06T04:49:37Z")

</div>


