[英]How to change elastic cluster name
HTTP:// XXXXX:9200 / _cluster /健康水平=指數&漂亮=真
給
{
cluster_name: "xx-elastic",
status: "red",
timed_out: false,
number_of_nodes: 3,
number_of_data_nodes: 2,
active_primary_shards: 167,
active_shards: 323,
relocating_shards: 0,
initializing_shards: 0,
.
.
.
.
我需要更改此cluter_name。 我用xpost無法做到這一點。
在$ES_HOME/config/elasticsearch.yml
配置文件中,可以更改以下屬性:
cluster.name: xx-elastic
到您想要的任何位置,然后重新啟動群集。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.