elasticsearch.yml配置
cluster.name: fans node.name: node-72 node.master: true node.data: true network.host: 172.22.245.212 http.port: 39200 transport.tcp.port: 39300 discovery.zen.ping.unicast.hosts: ["127.0.0.1"] discovery.zen.ping.unicast.hosts.resolve_timeout: 30s #index.codec: best_compression http.cors.allow-origin: "/.*/" http.cors.enabled: true path.repo: ["/home/zyzx_test/esdata/backups"]