elasticsearchHow can I view the version history of Elasticsearch?
Using the Elasticsearch API, you can view the version history of Elasticsearch. The following example code will return the version history of Elasticsearch:
GET /_cat/nodes?v
This will return a list of nodes and their versions, e.g.:
ip heap.percent ram.percent cpu load_1m load_5m load_15m node.role master name
127.0.0.1 66 39 6 0.10 0.14 0.17 mdi - node1
127.0.0.2 54 37 6 0.09 0.12 0.15 mdi * node2
127.0.0.3 66 38 6 0.08 0.11 0.15 mdi - node3
The node.role
column indicates if the node is a master or data node. The master
column indicates which node is the master node. The name
column shows the node name. The v
parameter in the command indicates that the version should be included in the output.
You can also use the following command to view the version of a specific node:
GET /_nodes/node_name
This will return the version of the specific node, e.g.:
{
"name" : "node_name",
"version" : "7.9.2"
}
Helpful links
More of Elasticsearch
- How can I use elasticsearch zone awareness to improve my software development?
- How can I use Elasticsearch and ZFS together?
- How do I set up an Elasticsearch Yum repository?
- How can I use Elasticsearch and Zookeeper together to manage distributed applications?
- How can I use Elasticsearch and Zabbix together for software development?
- How do I use an elasticsearch query builder?
- How can I check the status of a yellow index in Elasticsearch?
- How can I use Elasticsearch with Zammad?
- How can I use Elasticsearch to diagnose "yellow" issues?
- How can I set up and use Elasticsearch on the Yandex Cloud platform?
See more codes...