# Can i install two heartbeat on two servers and connet them to only one elasticsearh and kibana

**URL:** https://discuss.elastic.co/t/can-i-install-two-heartbeat-on-two-servers-and-connet-them-to-only-one-elasticsearh-and-kibana/293819
**Category:** Synthetics
**Created:** [January 9, 2022, 8:03am UTC](https://discuss.elastic.co/t/can-i-install-two-heartbeat-on-two-servers-and-connet-them-to-only-one-elasticsearh-and-kibana/293819 "2022-01-09T08:03:19Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![amr\_ibrahim](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@amr\_ibrahim](https://discuss.elastic.co/u/amr_ibrahim)
#### Post date: [January 9, 2022, 8:03am UTC](https://discuss.elastic.co/t/can-i-install-two-heartbeat-on-two-servers-and-connet-them-to-only-one-elasticsearh-and-kibana/293819/1 "2022-01-09T08:03:19Z")

</div>

Hello,  
i have old heartbeat connect with Elasticsearch and kibana and i want to create another heartbeat and connect it to same uptime is this possbile and how can we configure index and differentiate between them

Thanks

---

<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: [January 9, 2022, 10:21pm UTC](https://discuss.elastic.co/t/can-i-install-two-heartbeat-on-two-servers-and-connet-them-to-only-one-elasticsearh-and-kibana/293819/2 "2022-01-09T22:21:54Z")

</div>

You can do that, as you can filter based on the hostname that Heartbeat is running on. Or, you can add tags - [Common monitor options | Heartbeat Reference [7.16] | Elastic](https://www.elastic.co/guide/en/beats/heartbeat/current/monitor-options.html#monitor-tags)

---

<div class="post-metadata">

### Author: ![jkambic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jkambic/32/53306_2.png) [@jkambic](https://discuss.elastic.co/u/jkambic)
#### Post date: [January 11, 2022, 2:57pm UTC](https://discuss.elastic.co/t/can-i-install-two-heartbeat-on-two-servers-and-connet-them-to-only-one-elasticsearh-and-kibana/293819/3 "2022-01-11T14:57:03Z")

</div>

Just to add to what Mark has already mentioned, you can also configure Heartbeat to use [`observer geo metadata`](https://www.elastic.co/guide/en/beats/heartbeat/current/configuration-observer-options.html), in which case the Uptime app will show your Heartbeats as separate locations in the details view.

Example:

 ![](https://us1.discourse-cdn.com/elastic/original/3X/0/3/03a2fe690c8c0c829babdbfdc1ecaee81d164ea6.png)

---

<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: [February 4, 2022, 2:57pm UTC](https://discuss.elastic.co/t/can-i-install-two-heartbeat-on-two-servers-and-connet-them-to-only-one-elasticsearh-and-kibana/293819/4 "2022-02-04T14:57:07Z")

</div>

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