cluster.name: clusterName
node.master: true
node.data: true
node.ingest: true
http.cors.enabled: true
http.cors.allow-origin: "*"
http.cors.allow-methods: OPTIONS, HEAD, GET, POST, PUT, DELETE
http.cors.allow-headers: X-Requested-With, X-Auth-Token, Content-Type, Content-Length, Authorization
node.name: node-1
# 在一台机器上最多启动的节点数
node.max_local_storage_nodes: 1
path.data: /usr/local/elasticsearch-6.2.1/data/
path.logs: /usr/local/elasticsearch-6.2.1/logs/
#绑定的网卡IP
network.host: 0.0.0.0
http.port: 9200
transport.tcp.port: 9300
#action.auto_create_index: .security,.monitoring*,.watches,.triggered_watches,.watcher-history*,.ml*
xpack.security.enabled: false
02、elasticsearch.yml
猜你喜欢
转载自blog.csdn.net/ITresource/article/details/103064149
今日推荐
周排行