# Can we get geographical location by hosted IP address from Beats?

**URL:** https://discuss.elastic.co/t/can-we-get-geographical-location-by-hosted-ip-address-from-beats/92584
**Category:** Beats
**Tags:** metricbeat
**Created:** [July 11, 2017, 6:32am UTC](https://discuss.elastic.co/t/can-we-get-geographical-location-by-hosted-ip-address-from-beats/92584 "2017-07-11T06:32:38Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![mahadevaprasadap](https://avatars.discourse-cdn.com/v4/letter/m/59ef9b/32.png) [@mahadevaprasadap](https://discuss.elastic.co/u/mahadevaprasadap)
#### Post date: [July 11, 2017, 6:32am UTC](https://discuss.elastic.co/t/can-we-get-geographical-location-by-hosted-ip-address-from-beats/92584/1 "2017-07-11T06:32:38Z")

</div>

I have a requirement to get the Geographical location of the servers using IP address. Kindly help me.

---

<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 11, 2017, 6:46am UTC](https://discuss.elastic.co/t/can-we-get-geographical-location-by-hosted-ip-address-from-beats/92584/2 "2017-07-11T06:46:40Z")

</div>

You will need to be a little more verbose here.

What have you investigated? What have you tried?

---

<div class="post-metadata">

### Author: ![mahadevaprasadap](https://avatars.discourse-cdn.com/v4/letter/m/59ef9b/32.png) [@mahadevaprasadap](https://discuss.elastic.co/u/mahadevaprasadap)
#### Post date: [July 11, 2017, 7:06am UTC](https://discuss.elastic.co/t/can-we-get-geographical-location-by-hosted-ip-address-from-beats/92584/3 "2017-07-11T07:06:52Z")

</div>

Lets take an example,

I will install metricbeat in my machine. And using the metric beat am I able to get the geographical location of my machine based on its ip address?

---

<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 11, 2017, 7:20am UTC](https://discuss.elastic.co/t/can-we-get-geographical-location-by-hosted-ip-address-from-beats/92584/4 "2017-07-11T07:20:20Z")

</div>

Metricbeat doesn't do that, you need to use Logstash or Elasticsearch with the appropriate ingest pipeline config.

---

<div class="post-metadata">

### Author: ![mahadevaprasadap](https://avatars.discourse-cdn.com/v4/letter/m/59ef9b/32.png) [@mahadevaprasadap](https://discuss.elastic.co/u/mahadevaprasadap)
#### Post date: [July 11, 2017, 8:58am UTC](https://discuss.elastic.co/t/can-we-get-geographical-location-by-hosted-ip-address-from-beats/92584/5 "2017-07-11T08:58:00Z")

</div>

Is there any open source pipelines already available?

---

<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 11, 2017, 8:59am UTC](https://discuss.elastic.co/t/can-we-get-geographical-location-by-hosted-ip-address-from-beats/92584/6 "2017-07-11T08:59:04Z")

</div>

Yes, Logstash or the ingest API in Elasticsearch.

---

<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 8, 2017, 8:59am UTC](https://discuss.elastic.co/t/can-we-get-geographical-location-by-hosted-ip-address-from-beats/92584/7 "2017-08-08T08:59:12Z")

</div>

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