原文地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/node.name.html, 原文档版权归 www.elastic.co 所有

node.nameedit

Elasticsearch uses node.name as a human readable identifier for a particular instance of Elasticsearch so it is included in the response of many APIs. It defaults to the hostname that the machine has when Elasticsearch starts but can be configured explicitly in elasticsearch.yml as follows:

node.name: prod-data-2