2020-10-19 12:59:44 -04:00
|
|
|
[[node-name]]
|
|
|
|
[discrete]
|
|
|
|
=== Node name setting
|
2017-12-12 10:24:37 -05:00
|
|
|
|
2020-10-19 12:59:44 -04:00
|
|
|
{es} uses `node.name` as a human-readable identifier for a
|
|
|
|
particular instance of {es}. This name is included in the response
|
|
|
|
of many APIs. The node name defaults to the hostname of the machine when
|
|
|
|
{es} starts, but can be configured explicitly in
|
|
|
|
`elasticsearch.yml`:
|
2017-12-12 10:24:37 -05:00
|
|
|
|
|
|
|
[source,yaml]
|
|
|
|
--------------------------------------------------
|
|
|
|
node.name: prod-data-2
|
|
|
|
--------------------------------------------------
|