# Geocoding using Pelias

**URL:** <https://discuss.elastic.co/t/geocoding-using-pelias/275575>\
**Category:** Kibana\
**Created:** [June 10, 2021, 1:06pm UTC](https://discuss.elastic.co/t/geocoding-using-pelias/275575 "2021-06-10T13:06:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![element119](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/element119/32/90124_2.png) [@element119](https://discuss.elastic.co/u/element119)\
**Post date:** [June 10, 2021, 1:06pm UTC](https://discuss.elastic.co/t/geocoding-using-pelias/275575/1 "2021-06-10T13:06:29Z")

</div>

Hi all, very new to Elastick Stack and Pelias... I've searched everything I can think of for a solution but haven't found anything which tells me there's something glaringly obvious I've missed.

**What I have**  
Elasticsearch, Kibana, Logstash, Pelias all running and working  
Pelias will geocode when I test it via curl  
Receiving a data stream via logstash that has street addresses in the field named "staddress"

**What I need**  
I need to pass the contents of the "staddress" field to Pelias for it to geocode and return a geo\_point with the coordinates of that address (in a field named "coordinates")

I figure this needs some sort of enrich filter in an ingest pipeline but I absolutely cannot work out how to do it. The relevant documentation is pretty good but it doesn't indicate how to pass it to another API outside of Kibana.

Any suggestions are very welcome! Thank you!

---

<div class="post-metadata">

**Author:** ![ghudgins](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ghudgins/32/138532_2.png) [@ghudgins](https://discuss.elastic.co/u/ghudgins)\
**Post date:** [June 10, 2021, 3:59pm UTC](https://discuss.elastic.co/t/geocoding-using-pelias/275575/2 "2021-06-10T15:59:48Z")

</div>

welcome to the community! I'm not a super expert in this area but someone I work with suggested trying [Logstash HTTP Filter](https://www.elastic.co/guide/en/logstash/current/plugins-filters-http.html#_description_132) to enrich the data before sending it to the cluster.

---

<div class="post-metadata">

**Author:** ![element119](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/element119/32/90124_2.png) [@element119](https://discuss.elastic.co/u/element119)\
**Post date:** [June 10, 2021, 5:59pm UTC](https://discuss.elastic.co/t/geocoding-using-pelias/275575/3 "2021-06-10T17:59:35Z")

</div>

Thanks so much Graham! I have a little debugging to do but that looks very much like the right tool for the job. Thank you for your help!

---

<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 8, 2021, 5:59pm UTC](https://discuss.elastic.co/t/geocoding-using-pelias/275575/4 "2021-07-08T17:59:39Z")

</div>

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