opensearch-docs-cn/_opensearch/rest-api/cat/cat-master.md

897 B

layout title parent grand_parent nav_order has_children
default cat master CAT REST API reference 30 false

cat master

Introduced 1.0 {: .label .label-purple }

The cat master operation lists information that helps identify the elected master node.

Example

GET _cat/master?v

Path and HTTP methods

GET _cat/master

URL parameters

All cat master URL parameters are optional.

In addition to the common URL parameters, you can specify the following parameters:

Parameter Type Description
master_timeout Time The amount of time to wait for a connection to the master node. Default is 30 seconds.

Response

id                     |   host     |     ip     |   node
ZaIkkUd4TEiAihqJGkp5CA | 172.18.0.3 | 172.18.0.3 | odfe-node2