es 配置文件

[root@es02 config]# egrep -v "^(#|$)" elasticsearch.yml
cluster.name: v5-application
node.name: node-2
path.data: /home/esdata/data
path.logs: /home/esdata/logs
network.host: 0.0.0.0
http.port: 9200
discovery.zen.ping.unicast.hosts: ["192.168.10.138", "192.168.10.139","192.168.10.140"]
discovery.zen.minimum_master_nodes: 1
http.cors.enabled: true
http.cors.allow-origin: "*"

原文地址:https://www.cnblogs.com/gaoyuechen/p/9488225.html