# Geo Info for Heartbeat

**URL:** https://discuss.elastic.co/t/geo-info-for-heartbeat/316438
**Category:** Beats
**Tags:** heartbeat
**Created:** [October 12, 2022, 12:47pm UTC](https://discuss.elastic.co/t/geo-info-for-heartbeat/316438 "2022-10-12T12:47:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Tim\_Mobley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tim_mobley/32/94741_2.png) [@Tim\_Mobley](https://discuss.elastic.co/u/Tim_Mobley)
#### Post date: [October 12, 2022, 12:47pm UTC](https://discuss.elastic.co/t/geo-info-for-heartbeat/316438/1 "2022-10-12T12:47:17Z")

</div>

I'm trying to set up Heartbeat so that we can use the data on a map in Kibana. What I want is one heartbeat installation to handle various geographic locations. However, the lat/long settings are in the `heartbeat.yml` file. Is there any way to put that geographic location in the files in my `monitors.d` folder instead? That way I could have one file for each geographic location.

---

<div class="post-metadata">

### Author: ![lucasfcosta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lucasfcosta/32/97382_2.png) [@lucasfcosta](https://discuss.elastic.co/u/lucasfcosta)
#### Post date: [October 13, 2022, 8:11am UTC](https://discuss.elastic.co/t/geo-info-for-heartbeat/316438/2 "2022-10-13T08:11:57Z")

</div>

Hi Tim,

Thanks for your question.

Unfortunately, it's not possible to have [the observer metadata](https://www.elastic.co/guide/en/beats/heartbeat/current/add-observer-metadata.html) be set in a separate file. That's because each Heartbeat instance should add the metadata from its own location.

Therefore, if you use a single configuration file for multiple locations, you'll have all of those locations add the same metadata to what they ship.

One way I'd recommend doing this is by using a template file in which you can add the correct geographic location of each target when generating the Heartbeat configuration for each.

Another way to go about this would be to use your own private locations or our global managed testing locations, about which you can find more information [here](https://www.elastic.co/guide/en/observability/current/uptime-set-up.html).

Please let me know if I misunderstood your question or if there's anything else with which I can 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: [November 10, 2022, 10:12am UTC](https://discuss.elastic.co/t/geo-info-for-heartbeat/316438/3 "2022-11-10T10:12:09Z")

</div>

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