# Geolocation using packetbeat

**URL:** https://discuss.elastic.co/t/geolocation-using-packetbeat/241102
**Category:** Beats
**Tags:** packetbeat
**Created:** [July 14, 2020, 9:27am UTC](https://discuss.elastic.co/t/geolocation-using-packetbeat/241102 "2020-07-14T09:27:44Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Aniket\_Pant](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@Aniket\_Pant](https://discuss.elastic.co/u/Aniket_Pant)
#### Post date: [July 14, 2020, 9:27am UTC](https://discuss.elastic.co/t/geolocation-using-packetbeat/241102/1 "2020-07-14T09:27:44Z")

</div>

I am using geopoint filter in logstash and i am using packetbeat to send network logs to the elasticsearch through logstash.  
Here is my logstash config file

filter  
{  
geoip {  
source =\> "[server][ip]"  
target =\> "[server][geo]"  
}  
geoip {  
source =\> "[destination][ip]"  
target =\> "[destination][geo]"  
}  
geoip {  
source =\> "[source][ip]"  
target =\> "[source][geo]"  
}

geoip {  
source =\> "[client][ip]"  
target =\> "[client][geo]"  
}  
}  
in elasticsearch i can see the field destination.geo.location destination.geo.city\_name but i can't create the map

---

<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: [August 11, 2020, 11:27am UTC](https://discuss.elastic.co/t/geolocation-using-packetbeat/241102/2 "2020-08-11T11:27:46Z")

</div>

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