# couchbase Elasticsearch Connector

**URL:** <https://forum.opensearch.org/t/couchbase-elasticsearch-connector/8163>\
**Category:** OpenSearch\
**Tags:** all-clients, releases\
**Created:** [December 31, 2021, 6:01pm UTC](https://forum.opensearch.org/t/couchbase-elasticsearch-connector/8163 "2021-12-31T18:01:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![RAMZI](https://avatars.discourse-cdn.com/v4/letter/r/6f9a4e/32.png) [@RAMZI](https://forum.opensearch.org/u/RAMZI)\
**Post date:** [December 31, 2021, 6:01pm UTC](https://forum.opensearch.org/t/couchbase-elasticsearch-connector/8163/1 "2021-12-31T18:01:21Z")

</div>

Hello,  
I migrated from opendistro to opensearch, and since the migration the couchbase elasticsearch connector does not work anymore because of the version of opensearch, I have this error message: **Failed to connect to Elasticsearch. New attempt in 16s**  
**java.lang.RuntimeException: Elasticsearch version 2.0.0 or later required; the current version is 1.2.3** , apparently the connector is a bit stupid since it thinks it’s elasticsearch and not opensearch, is there a solution for that?

---

<div class="post-metadata">

**Author:** ![reta](https://avatars.discourse-cdn.com/v4/letter/r/cdc98d/32.png) [@reta](https://forum.opensearch.org/u/reta)\
**Post date:** [December 31, 2021, 9:48pm UTC](https://forum.opensearch.org/t/couchbase-elasticsearch-connector/8163/2 "2021-12-31T21:48:01Z")

</div>

Hi,

You may need to configure the compatibility setting [1], so the connector would get the recognizable version:

```auto
PUT _cluster/settings
{
  "persistent": {
    "compatibility": {
      "override_main_response_version": true
    }
  }
}

```

[1] [Moving from open source Elasticsearch to OpenSearch · OpenSearch](https://opensearch.org/blog/technical-posts/2021/10/moving-from-opensource-elasticsearch-to-opensearch/)

---

<div class="post-metadata">

**Author:** ![searchymcsearchface](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/searchymcsearchface/32/868_2.png) [@searchymcsearchface](https://forum.opensearch.org/u/searchymcsearchface)\
**Post date:** [January 4, 2022, 10:36pm UTC](https://forum.opensearch.org/t/couchbase-elasticsearch-connector/8163/3 "2022-01-04T22:36:11Z")

</div>

@RAMZI Did @reta’s solution work out for you?

---

<div class="post-metadata">

**Author:** ![RAMZI](https://avatars.discourse-cdn.com/v4/letter/r/6f9a4e/32.png) [@RAMZI](https://forum.opensearch.org/u/RAMZI)\
**Post date:** [January 4, 2022, 10:39pm UTC](https://forum.opensearch.org/t/couchbase-elasticsearch-connector/8163/5 "2022-01-04T22:39:13Z")

</div>

thank you for saving me, it works fine now !! 😁

---

<div class="post-metadata">

**Author:** ![RAMZI](https://avatars.discourse-cdn.com/v4/letter/r/6f9a4e/32.png) [@RAMZI](https://forum.opensearch.org/u/RAMZI)\
**Post date:** [January 22, 2022, 7:24pm UTC](https://forum.opensearch.org/t/couchbase-elasticsearch-connector/8163/6 "2022-01-22T19:24:24Z")

</div>

Hello Again,  
is it possible to configure opensearch-dashboard not to have kibana version 1.2.0?

I installed metricbeat and when I try to install their dashboard I get this error

metricbeat setup --dashboards  
Loading dashboards (Kibana must be running and reachable)

**`Exiting: Kibana API is not available in Kibana version 1.2.0`**

1.2.0 is the version of opensearch-dashboad and not kibana

thnks

---

<div class="post-metadata">

**Author:** ![searchymcsearchface](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/searchymcsearchface/32/868_2.png) [@searchymcsearchface](https://forum.opensearch.org/u/searchymcsearchface)\
**Post date:** [January 27, 2022, 2:43pm UTC](https://forum.opensearch.org/t/couchbase-elasticsearch-connector/8163/7 "2022-01-27T14:43:17Z")

</div>

That’s an interesting one. @ahoppity Have you seen anyone else surface an issue like this (or have a work around)?

---

<div class="post-metadata">

**Author:** ![ahoppity](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@ahoppity](https://forum.opensearch.org/u/ahoppity)\
**Post date:** [January 27, 2022, 6:22pm UTC](https://forum.opensearch.org/t/couchbase-elasticsearch-connector/8163/8 "2022-01-27T18:22:44Z")

</div>

Thanks for highlighting @searchymcsearchface!

@RAMZI I don’t think it’s that you need to configure opensearch-dashboard not to have kibana version 1.2.0, but rather metricsbeat thinks Dashboard _is_ Kibana 1.2.0. When the cluster reports its version OpenSearch version as 1.2.0, metricbeat interprets it as a Kibana version and throws the expected error as if Dashboards was Kibana 1.2.0.

There is a workaround (and more context) in this [issue](https://github.com/opensearch-project/OpenSearch-Dashboards/issues/656). And there is also an associated write up [here](https://www.electricbrain.com.au/pages/analytics/opensearch-vs-elasticsearch.php) that might be helpful.
