mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-30 18:33:26 -04:00
* Combining important config settings into a single page. * Updating ids for two pages causing link errors and implementing redirects.
14 lines
457 B
Text
14 lines
457 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
|
|
--------------------------------------------------
|