# Monitoring elasticsearch by using opendistro

**URL:** <https://forum.opensearch.org/t/monitoring-elasticsearch-by-using-opendistro/408>\
**Category:** Open Source Elasticsearch and Kibana\
**Created:** [April 11, 2019, 5:57pm UTC](https://forum.opensearch.org/t/monitoring-elasticsearch-by-using-opendistro/408 "2019-04-11T17:57:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mtoumi](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@mtoumi](https://forum.opensearch.org/u/mtoumi)\
**Post date:** [April 11, 2019, 5:57pm UTC](https://forum.opensearch.org/t/monitoring-elasticsearch-by-using-opendistro/408/1 "2019-04-11T17:57:57Z")

</div>

Hi

First of all thank you so much for this version.

I have a couple of elasticsearch running as basic licensing. we have elastalert running on each cluster. I am trying to move away from this setup. the idea is to create a monitoring cluster running opendistro. then forward all es metrics to opendistro

after I did this setup I am running into this issue where metricbeat cannot publish the index to opendistro.

> [@](#):
>
> 2019-04-11T17:56:10.246Z ERROR pipeline/output.go:100 Failed to connect to backoff(elasticsearch([https://mycluster](https://mycluster/))): Connection marked as failed because the onConnect callback failed: cannot retrieve the elasticsearch license: error from server, response code: 500
> 
> btw all the clusters running in kube cluster

---

<div class="post-metadata">

**Author:** ![mtoumi](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@mtoumi](https://forum.opensearch.org/u/mtoumi)\
**Post date:** [April 18, 2019, 3:59am UTC](https://forum.opensearch.org/t/monitoring-elasticsearch-by-using-opendistro/408/2 "2019-04-18T03:59:15Z")

</div>

for anyone is having the problem. just had to rollback to the same version as opendistro.
