2017-12-12 10:24:37 -05:00
|
|
|
[[node.name]]
|
|
|
|
=== `node.name`
|
|
|
|
|
2018-09-19 15:21:29 -04:00
|
|
|
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:
|
2017-12-12 10:24:37 -05:00
|
|
|
|
|
|
|
[source,yaml]
|
|
|
|
--------------------------------------------------
|
|
|
|
node.name: prod-data-2
|
|
|
|
--------------------------------------------------
|