Skip to content

Commit 9479a26

Browse files
committed
2017-05-29 完善 ELK
1 parent 7242b9a commit 9479a26

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ELK-Install-And-Settings.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ path.logs: /opt/elasticsearch/log
378378
bootstrap.memory_lock: true
379379
network.host: 0.0.0.0 # 也可以是本机 IP
380380
http.port: 9200
381-
discovery.zen.ping.unicast.hosts: ["192.168.1.127"] #这个为两台机子的 IP 地址
381+
discovery.zen.ping.unicast.hosts: ["192.168.1.127"] #如果有多个机子集群,这里就写上这些机子的 IP,格式:["192.168.1.127","192.168.1.126"]
382382
```
383383

384384
- 修改这个配置文件,不然无法锁内存:`vim /etc/security/limits.conf`
@@ -406,9 +406,9 @@ vm.max_map_count=262144
406406

407407
``` json
408408
{
409-
"name" : "xrfsiZM",
410-
"cluster_name" : "elasticsearch",
411-
"cluster_uuid" : "8AtVCJYWTweSK7PZubAaYQ",
409+
"name" : "youmeek-node-1",
410+
"cluster_name" : "youmeek-cluster",
411+
"cluster_uuid" : "c8RxQdOHQJq-Tg8rrPi_UA",
412412
"version" : {
413413
"number" : "5.2.0",
414414
"build_hash" : "24e05b9",

0 commit comments

Comments
 (0)