elasticsearch/docs/reference/setup/important-settings/node-name.asciidoc
debadair bef9b8a9b3
[DOCS] Edit JVM settings info. Closes #72259 (#72350)
* [DOCS] Edit JVM settings info. Closes #72259

* Apply suggestions from code review

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>

* Incorporated review feedback.
2021-04-28 18:30:32 -07:00

14 lines
458 B
Text

[[node-name]]
[discrete]
==== Node name setting
{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`:
[source,yaml]
--------------------------------------------------
node.name: prod-data-2
--------------------------------------------------