# Multiple kibana instance

**URL:** <https://discuss.elastic.co/t/multiple-kibana-instance/141938>\
**Category:** Kibana\
**Created:** [July 27, 2018, 11:58am UTC](https://discuss.elastic.co/t/multiple-kibana-instance/141938 "2018-07-27T11:58:46Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![zekeriya\_tavlasoglu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zekeriya_tavlasoglu/32/42851_2.png) [@zekeriya\_tavlasoglu](https://discuss.elastic.co/u/zekeriya_tavlasoglu)\
**Post date:** [July 27, 2018, 11:58am UTC](https://discuss.elastic.co/t/multiple-kibana-instance/141938/1 "2018-07-27T11:58:46Z")

</div>

Hi ,  
i want to run multiple kibana instances on the same elastic server but i couldn't find out the solution.

There is a kibana.yml file for the configuration. i tried to change server.port parameter but it didn't work.

what should i do?

Thanks.

---

<div class="post-metadata">

**Author:** ![davemoore](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davemoore/32/134233_2.png) [@davemoore](https://discuss.elastic.co/u/davemoore)\
**Post date:** [July 27, 2018, 12:42pm UTC](https://discuss.elastic.co/t/multiple-kibana-instance/141938/2 "2018-07-27T12:42:58Z")

</div>

@zekeriya_tavlasoglu

Can you describe more about the behavior you're seeing? If there's an error message can you share what it is and where you see it?

---

<div class="post-metadata">

**Author:** ![NerdSec](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nerdsec/32/22056_2.png) [@NerdSec](https://discuss.elastic.co/u/NerdSec)\
**Post date:** [July 27, 2018, 12:46pm UTC](https://discuss.elastic.co/t/multiple-kibana-instance/141938/3 "2018-07-27T12:46:42Z")

</div>

Is this something that you were looking for?

> [@How to run a second Kibana instance?](https://discuss.elastic.co/t/how-to-run-a-second-kibana-instance/141303):
>
> Hi, How can I run a second Kibana instance on the same host? I've been searching for hours but have been unable to find any answers. I tried copying kibana.yml to kibana2.yml and change the port number to 5602 and default .kibana index to defaultindex2 but whe I tried to access myip:5602 the page doesn't load. I'm trying to achieve some form of multitenancy where dashboards aren't visable to others. I'm also running xpack but that doesn't prevent you from seeing the dashboard (only from seei…

---

<div class="post-metadata">

**Author:** ![zekeriya\_tavlasoglu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zekeriya_tavlasoglu/32/42851_2.png) [@zekeriya\_tavlasoglu](https://discuss.elastic.co/u/zekeriya_tavlasoglu)\
**Post date:** [July 27, 2018, 2:36pm UTC](https://discuss.elastic.co/t/multiple-kibana-instance/141938/4 "2018-07-27T14:36:09Z")

</div>

Yes. My problem is same. But i don't use xpack right now.

---

<div class="post-metadata">

**Author:** ![zekeriya\_tavlasoglu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zekeriya_tavlasoglu/32/42851_2.png) [@zekeriya\_tavlasoglu](https://discuss.elastic.co/u/zekeriya_tavlasoglu)\
**Post date:** [July 27, 2018, 2:37pm UTC](https://discuss.elastic.co/t/multiple-kibana-instance/141938/5 "2018-07-27T14:37:37Z")

</div>

i don't see anything. kibana doesn't work for the new port. just copying kibana.yml and changing server.port is enough?  
are there any other steps that should be taken?

---

<div class="post-metadata">

**Author:** ![davemoore](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davemoore/32/134233_2.png) [@davemoore](https://discuss.elastic.co/u/davemoore)\
**Post date:** [July 27, 2018, 3:31pm UTC](https://discuss.elastic.co/t/multiple-kibana-instance/141938/6 "2018-07-27T15:31:45Z")

</div>

@zekeriya_tavlasoglu

Changing `server.port` should be all you need to do if you're running Kibana from the .tar.gz or .zip archive.

I don't think this will work if you're running Kibana as a service, such as from DEB or RPM, as explained in the discussion that @NerdSec shared.

If you need to install Kibana via DEB or RPM, I'd recommend running your second Kibana instance on another host or in another container.

---

<div class="post-metadata">

**Author:** ![zekeriya\_tavlasoglu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zekeriya_tavlasoglu/32/42851_2.png) [@zekeriya\_tavlasoglu](https://discuss.elastic.co/u/zekeriya_tavlasoglu)\
**Post date:** [July 30, 2018, 10:54am UTC](https://discuss.elastic.co/t/multiple-kibana-instance/141938/7 "2018-07-30T10:54:14Z")

</div>

Yes i am running kibana as a service in linux.  
So , what is the best way to run multiple kibana instance ?

1- running kibana as container in docker?  
2- running kibana from .tar or .zip archive? and also what does it mean? how kibana works in this method?

Regards,

Zekeriya.

---

<div class="post-metadata">

**Author:** ![davemoore](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davemoore/32/134233_2.png) [@davemoore](https://discuss.elastic.co/u/davemoore)\
**Post date:** [July 30, 2018, 1:25pm UTC](https://discuss.elastic.co/t/multiple-kibana-instance/141938/8 "2018-07-30T13:25:58Z")

</div>

@zekeriya_tavlasoglu

The "best" way depends on what you're trying to accomplish.

If this is for a production deployment where you need to scale out Kibana based on high Kibana traffic, then it would make sense to run Kibana on two separate hosts behind a load balancer, instead of collocated the same host where the two processes would be competing for the same resources.

If this is for some other reason, you can run two processes as [containers](https://www.docker.elastic.co/) or download two copies of the Kibana .tar.gz archive ([Linux 64-bit](https://www.elastic.co/downloads/kibana)), extract them, change `server.port` in their respective ./config/kibana.yml files, and run their respective ./bin/kibana scripts.

---

<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:** [August 27, 2018, 1:26pm UTC](https://discuss.elastic.co/t/multiple-kibana-instance/141938/9 "2018-08-27T13:26:01Z")

</div>

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