我将elasticsearch安装为RPM
服务。
我有5个群集节点,其中一个是tribe node
,三个是master and data node
,最后一个是data node
。我将logstash指向该数据节点并成功编译索引。当我刚检查其他框时,索引信息不会在群集之间共享。
当我检查了网址xxx.xx.xx:9200 /。我正在获得一个名为cluster_uuid的新字段,我在之前版本的ELK(2.3.1)中没有看到它。我怀疑是由于不同的cluster_uuid。
节点1
{
"name" : "node2",
"cluster_name" : "cluster_sft",
"cluster_uuid" : "wwbCT_wJRryT6ko-g_lm7A",
"version" : {
"number" : "5.2.1",
"build_hash" : "db0d481",
"build_date" : "2017-02-09T22:05:32.386Z",
"build_snapshot" : false,
"lucene_version" : "6.4.1"
},
"tagline" : "You Know, for Search"
}
节点2:
{
"name" : "node3",
"cluster_name" : "cluster_sft",
"cluster_uuid" : "qq3YUgZGR9O7nBXTLe8SUg",
"version" : {
"number" : "5.2.1",
"build_hash" : "db0d481",
"build_date" : "2017-02-09T22:05:32.386Z",
"build_snapshot" : false,
"lucene_version" : "6.4.1"
},
"tagline" : "You Know, for Search"
}
这是我的elasticsearch配置
cluster.name: cluster_sft
node.name: node1
node.master: true
node.data: true
bootstrap.memory_lock: true
http.host: xx.xx.xxx.xxx
network.host: 127.0.0.1
http.port: 9200
discovery.zen.ping.unicast.hosts: ["xx.xx.xxx.xxx:9200","xx.xx.xxx.xxx;9200","xx.xx.xxx.xxx:9200","xx.xx.xxx.xxx:9200"]
discovery.zen.minimum_master_nodes: 1
我不确定我是否缺少任何属性,或者我在配置中出错了。
谢谢, Rajeshkumar