Cluster problem


(Salma Ait Lhaj) #1

Hi,

I wanted to create an elasticsearch cluster, this is the changes I made :

cluster.name: network-logs
node.name: network-1
network.host: 172.16.250.29
discovery.zen.ping.unicast.hosts: ["172.16.250.29"]

But the curl doesn't work :

# curl -XGET 'http://localhost:9200/_cluster/state?pretty'
curl: (7) Failed connect to localhost:9200; Connection refused

(Bernt Rostad) #2

Given your host IP:

You should replace "localhost" with the IP address:

curl -XGET 'http://172.16.250.29:9200/_cluster/state?pretty'


(Salma Ait Lhaj) #3

The curl works , but not kibana :


(Bernt Rostad) #4

You need to configure the correct elasticsearch.url in kibana.yml and then restart Kibana to make it connect to the server by name or IP (and not by localhost).


(system) #5

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