Versions (relevant - OpenSearch/Dashboard/Server OS/Browser): 2.8
Describe the issue:
I am trying to connect two OpenSearch instances to one OpenSearch Dashboard. Based on what I’ve read so far it is possible, but it seems really convoluted and through the numerous tests so far I haven’t been able to achieve it.
I have one namespace called logging
and another logging-2
. In logging
there are the dashboard and the first OpenSearch instance and in logging-2
is the second OpenSearch instance. I have deployed everything through the original OpenSearch Helm Charts. Both instances are called opensearch
and the different nodes follow the same pattern opensearch-master
etc.
I found several places in the OpenSearch Dashboard’s configuration where the second instance might be added, so here is what I don’t understand so far.
-
There is this an
opensearchHosts
attribute in the dashboard’s values file. It is connected to an environment variable calledOPENSEARCH_HOSTS
. Despite the plural in the name, I wasn’t able to add more than one value and make it work. Is it actually possible to include multiple hosts and is adding multiple hosts the way to connect two instances to one dashboard? -
There is an
opensearch.hosts
setting in theopensearch_dashboard.yml
with which I encountered the same problem. Is it actually possible to include multiple hosts and is adding multiple hosts the way to connect two instances to one dashboard? -
There is a
data sources
feature that requires an endpoint to connect a remote instance. What should be the endpoint address to the second instance inlogging-2
?