# Installing two heartbeat services in the same host

**URL:** https://discuss.elastic.co/t/installing-two-heartbeat-services-in-the-same-host/241118
**Category:** Beats
**Tags:** heartbeat
**Created:** [July 14, 2020, 11:16am UTC](https://discuss.elastic.co/t/installing-two-heartbeat-services-in-the-same-host/241118 "2020-07-14T11:16:11Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Randima\_Somathilaka](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/randima_somathilaka/32/72118_2.png) [@Randima\_Somathilaka](https://discuss.elastic.co/u/Randima_Somathilaka)
#### Post date: [July 14, 2020, 11:16am UTC](https://discuss.elastic.co/t/installing-two-heartbeat-services-in-the-same-host/241118/1 "2020-07-14T11:16:11Z")

</div>

Hi,

Is there a specific guide to install two heartbeat services inside the same host machine. These heartbeat instances are pointed to two different elastic cloud stacks.

---

<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 15, 2020, 2:03am UTC](https://discuss.elastic.co/t/installing-two-heartbeat-services-in-the-same-host/241118/2 "2020-07-15T02:03:09Z")

</div>

Welcome to our community! 😃

Not officially, as it can get complex managing multiple sets of configs etc. Config management systems like Ansible/Puppet should be able to manage this for you.

You can also point the one instance at both hosts, with multiple `output.elasticsearch` sections in the one config.

---

<div class="post-metadata">

### Author: ![Randima\_Somathilaka](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/randima_somathilaka/32/72118_2.png) [@Randima\_Somathilaka](https://discuss.elastic.co/u/Randima_Somathilaka)
#### Post date: [July 15, 2020, 5:31am UTC](https://discuss.elastic.co/t/installing-two-heartbeat-services-in-the-same-host/241118/3 "2020-07-15T05:31:16Z")

</div>

Hello @warkolm,

Thanks for the response 😇  
Can we point to two elastic clouds with `output.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 12, 2020, 7:31am UTC](https://discuss.elastic.co/t/installing-two-heartbeat-services-in-the-same-host/241118/4 "2020-08-12T07:31:24Z")

</div>

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