# Creating client location data for packetbeat

**URL:** <https://discuss.elastic.co/t/creating-client-location-data-for-packetbeat/52551>\
**Category:** Beats\
**Tags:** packetbeat\
**Created:** [June 13, 2016, 1:43am UTC](https://discuss.elastic.co/t/creating-client-location-data-for-packetbeat/52551 "2016-06-13T01:43:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kennedy\_Kan1](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@Kennedy\_Kan1](https://discuss.elastic.co/u/Kennedy_Kan1)\
**Post date:** [June 13, 2016, 1:43am UTC](https://discuss.elastic.co/t/creating-client-location-data-for-packetbeat/52551/1 "2016-06-13T01:43:45Z")

</div>

I have been using packetbeat to collect network transfer packets data, however, I discover that there is a client location field, however, seems that there isn't any data coming out from that. Is there anyway that I can collect the data?

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [June 13, 2016, 8:42am UTC](https://discuss.elastic.co/t/creating-client-location-data-for-packetbeat/52551/2 "2016-06-13T08:42:58Z")

</div>

Can you share some more details? What is your config? Which PB version are you using?

---

<div class="post-metadata">

**Author:** ![Kennedy\_Kan1](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@Kennedy\_Kan1](https://discuss.elastic.co/u/Kennedy_Kan1)\
**Post date:** [June 13, 2016, 4:23pm UTC](https://discuss.elastic.co/t/creating-client-location-data-for-packetbeat/52551/3 "2016-06-13T16:23:01Z")

</div>

I am just using the latest packetbeat version 1.2.3 and I did not chane my default config, just using elasticsearch as the default output

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [June 13, 2016, 10:11pm UTC](https://discuss.elastic.co/t/creating-client-location-data-for-packetbeat/52551/4 "2016-06-13T22:11:32Z")

</div>

Did you install the GeoLite city database at one of the default locations used by Packetbeat? [https://www.elastic.co/guide/en/beats/packetbeat/1.2/configuration-shipper.html#\_geoip\_paths](https://www.elastic.co/guide/en/beats/packetbeat/1.2/configuration-shipper.html#_geoip_paths)

Also `client_location` will only be populated with the client IP is a public IP address.

---

<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 4, 2016, 1:44am UTC](https://discuss.elastic.co/t/creating-client-location-data-for-packetbeat/52551/5 "2016-07-04T01:44:12Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
