# Multiple Kibana instances on elasticsearch cluster

**URL:** https://discuss.elastic.co/t/multiple-kibana-instances-on-elasticsearch-cluster/305205
**Category:** Kibana
**Created:** [May 19, 2022, 2:53pm UTC](https://discuss.elastic.co/t/multiple-kibana-instances-on-elasticsearch-cluster/305205 "2022-05-19T14:53:38Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![George\_Dimitropoulos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/george_dimitropoulos/32/103087_2.png) [@George\_Dimitropoulos](https://discuss.elastic.co/u/George_Dimitropoulos)
#### Post date: [May 19, 2022, 2:53pm UTC](https://discuss.elastic.co/t/multiple-kibana-instances-on-elasticsearch-cluster/305205/1 "2022-05-19T14:53:38Z")

</div>

I have two kibana instances on version **8.1.2**.

I installed the first one with rpm and for the second one I followed [kibana dev guide](https://www.elastic.co/guide/en/kibana/current/development.html) and built an localized kibana in order to translate the UI to greek.

I used to have these two kibana instances on version **7.15** and by configuring the "kibana.index" option in kibana.yml of the localized kibana and setting "elastisearch.username" to "elastic", I was able to connect both kibana instances to the same cluster.

When I upgraded both and researched the documentation, I found out that these options are now deprecated and I cannot connect two instances on the same Elasticsearch cluster.  
Source : [Removing legacy multitenancy · Issue #82020 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/82020)

One option is to use "remote cluster search", and creating one extra cluster for each of my kibana instances in order to search via them on my current big cluster.

Question1: Is this a viable solution?

Question2: Is there a simpler way or a workaround for the previous feature in order to get the two kibana instances running on the same cluster?

---

<div class="post-metadata">

### Author: ![ibra\_013](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ibra_013/32/104827_2.png) [@ibra\_013](https://discuss.elastic.co/u/ibra_013)
#### Post date: [May 19, 2022, 3:27pm UTC](https://discuss.elastic.co/t/multiple-kibana-instances-on-elasticsearch-cluster/305205/2 "2022-05-19T15:27:42Z")

</div>

Hi @George_Dimitropoulos

how did you come to the conclusion that two Kibana instances can't connect to one ES cluster ?

---

<div class="post-metadata">

### Author: ![George\_Dimitropoulos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/george_dimitropoulos/32/103087_2.png) [@George\_Dimitropoulos](https://discuss.elastic.co/u/George_Dimitropoulos)
#### Post date: [May 20, 2022, 6:38am UTC](https://discuss.elastic.co/t/multiple-kibana-instances-on-elasticsearch-cluster/305205/3 "2022-05-20T06:38:27Z")

</div>

Hello,

I am getting this error

```auto
{"statusCode":500,"error":"Internal Server Error","message":
"Multiple versions of Kibana are running against the same Elasticsearch 
cluster, unable to authorize user."}

```

and also on the kibana.log I am getting this log :

```auto
{"ecs":{"version":"8.0.0"},"@timestamp":"2022-05-20T09:30:39.189+03:00",
"message":"Unable to navigate to space \"stats\". Error: Multiple versions of
 Kibana are running against the same Elasticsearch cluster, unable to authorize
 user.","log": {"level":"ERROR","logger":"plugins.spaces"},
"process":{"pid":6428},"trace":{"id":"aa40b4bd873e0ace9a1d7ae6940f108f"},
"transaction":{"id":"356a852d44a09bbf"}}

```

Furthermore, it is stated on this issue too: [Removing legacy multitenancy · Issue #82020 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/82020)

---

<div class="post-metadata">

### Author: ![George\_Dimitropoulos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/george_dimitropoulos/32/103087_2.png) [@George\_Dimitropoulos](https://discuss.elastic.co/u/George_Dimitropoulos)
#### Post date: [May 20, 2022, 8:40am UTC](https://discuss.elastic.co/t/multiple-kibana-instances-on-elasticsearch-cluster/305205/4 "2022-05-20T08:40:33Z")

</div>

After reading this [Use Kibana in a production environment | Kibana Guide [8.1] | Elastic](https://www.elastic.co/guide/en/kibana/8.1/production.html) in the documentation, I tried running the localized kibana with two different kibana.yml and configs and it actually worked fine!

Is this feature supported or is it something that it should not happen?

---

<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: [June 17, 2022, 8:41am UTC](https://discuss.elastic.co/t/multiple-kibana-instances-on-elasticsearch-cluster/305205/5 "2022-06-17T08:41:01Z")

</div>

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