How Can I use Kibana to see indices in another ES Cluster?

(Allie Yang Yang) #1

I am trying to see data from a totally different ES Cluster set up by others. How Could see them in Kibana?

Shall I change the elasticsearch.url in the kibana.yml file and fill it with the new Cluster's server address?

Should I also change the IP and Host in elasticsearch.yml?

(Matt Bargar) #2

elasticsearch.url should include the host, port, and protocol, e.g. http://localhost:9200

Note however that you won't be able to see any of your existing index patterns or saved objects when you switch clusters. All of that information is stored in the cluster Kibana is pointing to.

(Allie Yang Yang) #3

Below is the new cluster's address i want to connect to, should i have elasticsearch.url as inet[]?


Then I kept get the error message:
[warning][elasticsearch] Unable to revive connection: http://localhost:9200/

(Allie Yang Yang) #4

Shall I change anything in elasticsearch.yml?

(Matt Bargar) #5

Most likely you just want to set elasticsearch.url to or Elasticsearch needs to bind to whatever public address you're trying to connect to, so yes you'll need to update elasticsearch.yml if you haven't already.

(Allie Yang Yang) #6

Is below right?
ES still tries to connect

I changed elasticsearch.yml in network portion:

---------------------------------- Network -----------------------------------

Set the bind address to a specific IP (IPv4 or IPv6):

Set a custom port for HTTP:

http.port: 9300

As well as Discover portion:

--------------------------------- Discovery ----------------------------------

Pass an initial list of hosts to perform discovery when new node is started:

The default list of hosts is [""] false ["","","",""]

(Matt Bargar) #7

Looks ok to me. You might want to ask in the Elasticsearch forum. Once Elasticsearch is accessible on a non-loopback address it should be easy to connect Kibana.

(Allie Yang Yang) #8

Ok, last question, these changes in elasticsearch.yml are all in comments....DO they really work?

(Matt Bargar) #9

You'll definitely need to uncomment any lines you want to make active.

(Allie Yang Yang) #10

i solved it. It is version compatible between Kibana and ES.

Kibana Error to connect to another server
(system) #11