# Problem with metricbeat to monitor one cluster with security enabled and the other one without security enabled

**URL:** <https://discuss.elastic.co/t/problem-with-metricbeat-to-monitor-one-cluster-with-security-enabled-and-the-other-one-without-security-enabled/297903>\
**Category:** Kibana\
**Tags:** elastic-stack-monitoring\
**Created:** [February 22, 2022, 1:38pm UTC](https://discuss.elastic.co/t/problem-with-metricbeat-to-monitor-one-cluster-with-security-enabled-and-the-other-one-without-security-enabled/297903 "2022-02-22T13:38:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AitorGomezSanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aitorgomezsanz/32/102133_2.png) [@AitorGomezSanz](https://discuss.elastic.co/u/AitorGomezSanz)\
**Post date:** [February 22, 2022, 1:38pm UTC](https://discuss.elastic.co/t/problem-with-metricbeat-to-monitor-one-cluster-with-security-enabled-and-the-other-one-without-security-enabled/297903/1 "2022-02-22T13:38:35Z")

</div>

Hi,

I have a problem, because I have two clusters, one of these clusters (cluster1) has xpack security enabled, and the other one doesn't have security enabled (cluster2). The problem is that I want to monitor cluster1 in cluster2. I saw in the documentation that " monitoring.ui.Elasticsearch.username - authenticated user’s credentials, which must be the same on both the Elasticsearch monitoring"

Is it possible to connect this clusters, one of them without security?

Best regards,  
Aitor

---

<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:** [March 22, 2022, 1:39pm UTC](https://discuss.elastic.co/t/problem-with-metricbeat-to-monitor-one-cluster-with-security-enabled-and-the-other-one-without-security-enabled/297903/2 "2022-03-22T13:39:10Z")

</div>

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