# GeoPoint

**URL:** https://discuss.elastic.co/t/geopoint/149462
**Category:** Elasticsearch
**Created:** [September 21, 2018, 1:17pm UTC](https://discuss.elastic.co/t/geopoint/149462 "2018-09-21T13:17:03Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![fkelbert](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fkelbert/32/35762_2.png) [@fkelbert](https://discuss.elastic.co/u/fkelbert)
#### Post date: [September 21, 2018, 3:39pm UTC](https://discuss.elastic.co/t/geopoint/149462/2 "2018-09-21T15:39:39Z")

</div>

Generally, you would insert the data as follows:

```
PUT GeoLoc/doc/1
{ 
  "location": {
    "lat": 41.12,
    "lon": -71.34
  }
}

```

This is further described in the [Geopoint documentation](https://www.elastic.co/guide/en/elasticsearch/reference/6.3/geo-point.html).

Now, it depends how you are ingesting data into Elasticsearch. Are you using Beats, Logstash, or some other homebrewn solution?

- [Logstash solution](https://discuss.elastic.co/t/how-to-construct-geo-point-field-from-separate-fields-of-latitude-and-longitude-for-kibana-5-4/91755)

---

_[View the full topic](https://discuss.elastic.co/t/geopoint/149462)._
