opensearch-docs-cn/_api-reference/cat/cat-cluster_manager.md

45 lines
1009 B
Markdown

---
layout: default
title: CAT cluster manager
parent: CAT API
redirect_from:
- /opensearch/rest-api/cat/cat-master/
nav_order: 30
has_children: false
---
# CAT cluster_manager
Introduced 1.0
{: .label .label-purple }
The CAT cluster manager operation lists information that helps identify the elected cluster manager node.
## Example
```
GET _cat/cluster_manager?v
```
{% include copy-curl.html %}
## Path and HTTP methods
```
GET _cat/cluster_manager
```
## URL parameters
All CAT cluster manager URL parameters are optional.
In addition to the [common URL parameters]({{site.url}}{{site.baseurl}}/api-reference/cat/index), you can specify the following parameters:
Parameter | Type | Description
:--- | :--- | :---
cluster_manager_timeout | Time | The amount of time to wait for a connection to the cluster manager node. Default is 30 seconds.
## Response
```json
id | host | ip | node
ZaIkkUd4TEiAihqJGkp5CA | 172.18.0.3 | 172.18.0.3 | opensearch-node2
```