# Configuring Kibana - Existing Elasticsearch Remote Server

**URL:** <https://discuss.elastic.co/t/configuring-kibana-existing-elasticsearch-remote-server/257778>\
**Category:** Kibana\
**Created:** [December 6, 2020, 2:39pm UTC](https://discuss.elastic.co/t/configuring-kibana-existing-elasticsearch-remote-server/257778 "2020-12-06T14:39:21Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sampson\_Light](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sampson_light/32/77283_2.png) [@Sampson\_Light](https://discuss.elastic.co/u/Sampson_Light)\
**Post date:** [December 6, 2020, 2:39pm UTC](https://discuss.elastic.co/t/configuring-kibana-existing-elasticsearch-remote-server/257778/1 "2020-12-06T14:39:22Z")

</div>

Hi All,  
So in my company, we always used elasticsearch head plugin, connecting to an existing elasticsearch server to do our operations.

Recently, we are explroing the usage of Kibana and I am trying to configure Kibana to point my company's remote server.

So the problem now is, I am unsure what I should put for the kibana.yml file to point to the remote server.

Many videos and 'tutorials' online teaches you how to set it up for localhost, to your own pc.

Can anyone share how I can set up the kibana.yml file to point it to an existing elasticsearch server?

Or if there is any easier way for me to use Kibana (elastic cloud or something) with an existing elasticsearch server, do let me know.

Regards

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 7, 2020, 2:17am UTC](https://discuss.elastic.co/t/configuring-kibana-existing-elasticsearch-remote-server/257778/2 "2020-12-07T02:17:39Z")

</div>

You want `elasticsearch.hosts`, as mentioned here - [https://www.elastic.co/guide/en/kibana/current/settings.html](https://www.elastic.co/guide/en/kibana/current/settings.html). Point that to the IP/DNS entry for your Elasticsearch cluster.

---

<div class="post-metadata">

**Author:** ![Sampson\_Light](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sampson_light/32/77283_2.png) [@Sampson\_Light](https://discuss.elastic.co/u/Sampson_Light)\
**Post date:** [December 7, 2020, 4:42am UTC](https://discuss.elastic.co/t/configuring-kibana-existing-elasticsearch-remote-server/257778/3 "2020-12-07T04:42:26Z")

</div>

Hi warkolm,

What if my cluster consists of 3 IP entries?

Like, my cluster is made up of 3 linux servers -\> 3 different host names (e.g. elk1b,elk2b,elk3b) and 3 different ip addresses.

Can you provide an example please?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 7, 2020, 4:46am UTC](https://discuss.elastic.co/t/configuring-kibana-existing-elasticsearch-remote-server/257778/4 "2020-12-07T04:46:41Z")

</div>

`elasticsearch.hosts: ["elk1b:9200", "elk2b:9200", "elk3b:9200"]`

---

<div class="post-metadata">

**Author:** ![Sampson\_Light](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sampson_light/32/77283_2.png) [@Sampson\_Light](https://discuss.elastic.co/u/Sampson_Light)\
**Post date:** [December 9, 2020, 8:03am UTC](https://discuss.elastic.co/t/configuring-kibana-existing-elasticsearch-remote-server/257778/5 "2020-12-09T08:03:34Z")

</div>

Hi warkolm, i tried your method but it did not work. ES was asking me to provide a http prefix so i did something like -\>

What I did was that I had an cluster url whereby my 3 node servers are pointing to  
elasticsearch.hosts: ["[https://hostname.test.com:9200](https://hostname.test.com:9200)"] and it did not throw an error.

So i managed to set it up to this point and everything seems fine but when i throw in [https://localhost:5601/](https://localhost:5601/) onto the browser nothing turns up.

I guess thats normal because I am trying to connect to an existing ES server and not localhost so I probably need to do something to "server.host"

So the next question now is -\> in the kibana.yml file, what do I put for the server.host: "xx" property when I have 3 ips/hostname (this parameter accepts only string and not arrays).

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 9, 2020, 9:20pm UTC](https://discuss.elastic.co/t/configuring-kibana-existing-elasticsearch-remote-server/257778/6 "2020-12-09T21:20:23Z")

</div>

Please don't post pictures of text, they are difficult to read, impossible to search and replicate (if it's code), and some people may not be even able to see them 🙂

---

<div class="post-metadata">

**Author:** ![Sampson\_Light](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sampson_light/32/77283_2.png) [@Sampson\_Light](https://discuss.elastic.co/u/Sampson_Light)\
**Post date:** [December 10, 2020, 3:51am UTC](https://discuss.elastic.co/t/configuring-kibana-existing-elasticsearch-remote-server/257778/7 "2020-12-10T03:51:31Z")

</div>

Noted on your advise, have removed the image.

Could I trouble you to advise if you have an answer for server.host.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 10, 2020, 4:23am UTC](https://discuss.elastic.co/t/configuring-kibana-existing-elasticsearch-remote-server/257778/8 "2020-12-10T04:23:58Z")

</div>

> [@Sampson\_Light](#):
>
> So the next question now is -\> in the kibana.yml file, what do I put for the server.host: "xx" property when I have 3 ips/hostname (this parameter accepts only string and not arrays).

Why do you have 3 hostnames or IPs for the one host?

---

<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:** [January 7, 2021, 4:24am UTC](https://discuss.elastic.co/t/configuring-kibana-existing-elasticsearch-remote-server/257778/9 "2021-01-07T04:24:06Z")

</div>

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