# Adding Geo data to monitored hosts

**URL:** https://discuss.elastic.co/t/adding-geo-data-to-monitored-hosts/301933
**Category:** Beats
**Tags:** heartbeat
**Created:** [April 8, 2022, 7:51am UTC](https://discuss.elastic.co/t/adding-geo-data-to-monitored-hosts/301933 "2022-04-08T07:51:40Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Christian\_SANCHEZ](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_sanchez/32/43557_2.png) [@Christian\_SANCHEZ](https://discuss.elastic.co/u/Christian_SANCHEZ)
#### Post date: [April 8, 2022, 7:51am UTC](https://discuss.elastic.co/t/adding-geo-data-to-monitored-hosts/301933/1 "2022-04-08T07:51:40Z")

</div>

Hello  
I have heartbeat running and sending correctly data to my ES.  
I would like to add geo data to the hosts I monitor to show them on a Map  
I know we can add geo data to the observer, but is there a way to add geo data to the monitored hosts ?  
Thanks for any tips or example

---

<div class="post-metadata">

### Author: ![ylasri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ylasri/32/86120_2.png) [@ylasri](https://discuss.elastic.co/u/ylasri)
#### Post date: [April 8, 2022, 8:08am UTC](https://discuss.elastic.co/t/adding-geo-data-to-monitored-hosts/301933/2 "2022-04-08T08:08:34Z")

</div>

Have a look here

> **[Enrich events with geoIP information | Metricbeat Reference \[8.1\] | Elastic](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-geoip.html)**

---

<div class="post-metadata">

### Author: ![Christian\_SANCHEZ](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_sanchez/32/43557_2.png) [@Christian\_SANCHEZ](https://discuss.elastic.co/u/Christian_SANCHEZ)
#### Post date: [April 8, 2022, 4:37pm UTC](https://discuss.elastic.co/t/adding-geo-data-to-monitored-hosts/301933/3 "2022-04-08T16:37:29Z")

</div>

Hello  
I know this ingest processor  
However, the heartbeat ecs has monitor.ip which is nower in this processor.  
Should I create my own processor for heartbeat to cover the geo data of monitor.ip ?  
Thanks

---

<div class="post-metadata">

### Author: ![ylasri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ylasri/32/86120_2.png) [@ylasri](https://discuss.elastic.co/u/ylasri)
#### Post date: [April 8, 2022, 4:54pm UTC](https://discuss.elastic.co/t/adding-geo-data-to-monitored-hosts/301933/4 "2022-04-08T16:54:44Z")

</div>

Yes of course you can, the only thing is that `monitor.ip` shoud be a public IP

---

<div class="post-metadata">

### Author: ![Christian\_SANCHEZ](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_sanchez/32/43557_2.png) [@Christian\_SANCHEZ](https://discuss.elastic.co/u/Christian_SANCHEZ)
#### Post date: [April 8, 2022, 4:55pm UTC](https://discuss.elastic.co/t/adding-geo-data-to-monitored-hosts/301933/5 "2022-04-08T16:55:54Z")

</div>

Yes, of course  
Any tips on enriching internal IP of my organization ?  
Thanks

---

<div class="post-metadata">

### Author: ![ylasri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ylasri/32/86120_2.png) [@ylasri](https://discuss.elastic.co/u/ylasri)
#### Post date: [April 8, 2022, 5:01pm UTC](https://discuss.elastic.co/t/adding-geo-data-to-monitored-hosts/301933/6 "2022-04-08T17:01:05Z")

</div>

One option you have is to use an enrich policy  
Load your internal IP & locations into an index

> **[Enriching Elasticsearch data with GeoIPs from internal, private IP addresses](https://www.elastic.co/blog/enriching-elasticsearch-data-geo-ips-internal-private-ip-addresses)**
>
> Learn a simple way to add geolocation data from private IP addresses to your documents in Elasticsearch using the enrich processor.

---

<div class="post-metadata">

### Author: ![Christian\_SANCHEZ](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_sanchez/32/43557_2.png) [@Christian\_SANCHEZ](https://discuss.elastic.co/u/Christian_SANCHEZ)
#### Post date: [April 8, 2022, 5:37pm UTC](https://discuss.elastic.co/t/adding-geo-data-to-monitored-hosts/301933/7 "2022-04-08T17:37:27Z")

</div>

Great thanks  
have a good WE

---

<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: [May 6, 2022, 7:37pm UTC](https://discuss.elastic.co/t/adding-geo-data-to-monitored-hosts/301933/8 "2022-05-06T19:37:50Z")

</div>

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