修改ES配置:
修改elasticsearch.yml,添加如下xpack配置:
xpack.security.enabled: true xpack.ml.enabled: true xpack.license.self_generated.type: trial xpack.monitoring.collection.enabled: true
然后重啟ES集群
查看kibana里的監控
開啟監控的重點是一定要加這個配置:
xpack.monitoring.collection.enabled: true
訪問http://192.168.10.110:5601,點擊菜單“Monitoring”:
查看節點狀態
點擊上圖的Nodes: 3