# Only one instance of metricbeat/filebeat can connect to elastic

**URL:** <https://discuss.elastic.co/t/only-one-instance-of-metricbeat-filebeat-can-connect-to-elastic/337200>\
**Category:** Beats\
**Tags:** elastic-stack-monitoring, filebeat, metricbeat\
**Created:** [June 29, 2023, 1:19pm UTC](https://discuss.elastic.co/t/only-one-instance-of-metricbeat-filebeat-can-connect-to-elastic/337200 "2023-06-29T13:19:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcin8352](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@marcin8352](https://discuss.elastic.co/u/marcin8352)\
**Post date:** [June 29, 2023, 1:19pm UTC](https://discuss.elastic.co/t/only-one-instance-of-metricbeat-filebeat-can-connect-to-elastic/337200/1 "2023-06-29T13:19:57Z")

</div>

Hello,

I have an issue connecting 2 machines to elasticsearch.

I have 2 redundant machines in azure which have the same software installed, both have metricbeat and filebeat installed which works just fine. Lets call them machine A and machine B.

The problem is that in the stack monitoring i see only one of those, for example machine A and sometimes after refresh I see only machine B. Both machines have the same metricbeat and filebeat configuration and work just fine but when only one is active. When beats on both machines are active I see beats from only one machine in the stack monitoring. Beats on those machines have the same exact configuration. Both use certificate to connect to elastic. What should i check? What might be the issue here?

---

<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:** [July 27, 2023, 3:20pm UTC](https://discuss.elastic.co/t/only-one-instance-of-metricbeat-filebeat-can-connect-to-elastic/337200/2 "2023-07-27T15:20:31Z")

</div>

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