- Source:
Methods
(static) CatApi#aliases(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}
The CAT aliases operation lists the mapping of aliases to indices, plus routing and filtering information.
See Also: OpenSearch - CAT aliases
See Also: OpenSearch - CAT aliases
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Accepts - common CAT parameters along with the following unique parameters:
Properties
|
|||||||||||||||||||||
options |
Object |
<optional> |
Options for Transport#request | ||||||||||||||||||||
callback |
function |
<optional> |
Callback that handles errors and response |
- Source:
Returns:
- Type
- Object | Promise.<never> | *
(static) CatApi#allocation(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}
The CAT allocation operation lists the allocation of disk space for indices and the number of shards on each node.
See Also: OpenSearch - CAT allocation
See Also: OpenSearch - CAT allocation
Parameters:
Name | Type | Attributes | Description | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Accepts - common CAT parameters along with the following unique parameters:
Properties
|
||||||||||||||||||||||||||
options |
Object |
<optional> |
Options for Transport#request | |||||||||||||||||||||||||
callback |
function |
<optional> |
Callback that handles errors and response |
- Source:
Returns:
- Type
- Object | Promise.<never> | *
(static) CatApi#cluster_manager(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}
The CAT cluster manager operation lists information that helps identify the elected cluster manager node.
See Also: OpenSearch - CAT cluster manager
See Also: OpenSearch - CAT cluster manager
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
params |
Object | Accepts - common CAT parameters | |
options |
Object |
<optional> |
Options for Transport#request |
callback |
function |
<optional> |
Callback that handles errors and response |
- Source:
Returns:
- Type
- Object | Promise.<never> | *
(static) CatApi#count(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}
The CAT count operation lists the number of documents in your cluster.
See Also: OpenSearch - CAT count
See Also: OpenSearch - CAT count
Parameters:
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Accepts - common CAT parameters along with the following unique parameters:
Properties
|
|||||||||
options |
Object |
<optional> |
Options for Transport#request | ||||||||
callback |
function |
<optional> |
Callback that handles errors and response |
- Source:
Returns:
- Type
- Object | Promise.<never> | *
(static) CatApi#fielddata(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}
The CAT fielddata operation lists the memory size used by each field per node.
See Also: OpenSearch - CAT fielddata
See Also: OpenSearch - CAT fielddata
Parameters:
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Accepts - common CAT parameters along with the following unique parameters:
Properties
|
|||||||||
options |
Object |
<optional> |
Options for Transport#request | ||||||||
callback |
function |
<optional> |
Callback that handles errors and response |
- Source:
Returns:
- Type
- Object | Promise.<never> | *
(static) CatApi#health(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}
The CAT health operation lists the status of the cluster, how long the cluster has been up, the number of nodes,
and other useful information that helps you analyze the health of your cluster.
See Also: OpenSearch - CAT health
See Also: OpenSearch - CAT health
Parameters:
Name | Type | Attributes | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Accepts - common CAT parameters along with the following unique parameters:
Properties
|
||||||||||||||||
options |
Object |
<optional> |
Options for Transport#request | |||||||||||||||
callback |
function |
<optional> |
Callback that handles errors and response |
- Source:
Returns:
- Type
- Object | Promise.<never> | *
(static) CatApi#help(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}
See the available operations in the CAT API
See Also: OpenSearch - CAT
See Also: OpenSearch - CAT
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
params |
Object | (ignored) | |
options |
Object |
<optional> |
Options for Transport#request |
callback |
function |
<optional> |
Callback that handles errors and response |
- Source:
Returns:
- Type
- Object | Promise.<never> | *
(static) CatApi#indices(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}
The CAT indices operation lists information related to indices—how much disk space they are using, how many shards they have, their health status, and so on.
See Also: OpenSearch - CAT indices
See Also: OpenSearch - CAT indices
Parameters:
Name | Type | Attributes | Description | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Accepts - common CAT parameters along with the following unique parameters:
Properties
|
||||||||||||||||||||||||||||||||||||||||||||||
options |
Object |
<optional> |
Options for Transport#request | |||||||||||||||||||||||||||||||||||||||||||||
callback |
function |
<optional> |
Callback that handles errors and response |
- Source:
Returns:
- Type
- Object | Promise.<never> | *
(static) CatApi#nodeattrs(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}
The CAT nodeattrs operation lists the attributes of custom nodes.
See Also: OpenSearch - CAT aliases
See Also: OpenSearch - CAT aliases
Parameters:
Name | Type | Attributes | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Accepts - common CAT parameters along with the following unique parameters:
Properties
|
||||||||||||||||
options |
Object |
<optional> |
Options for Transport#request | |||||||||||||||
callback |
function |
<optional> |
Callback that handles errors and response |
- Source:
Returns:
- Type
- Object | Promise.<never> | *
(static) CatApi#nodes(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}
The CAT nodes operation lists node-level information, including node roles and load metrics.
See Also: OpenSearch - CAT nodes
See Also: OpenSearch - CAT nodes
Parameters:
Name | Type | Attributes | Description | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Accepts - common CAT parameters along with the following unique parameters:
Properties
|
||||||||||||||||||||||||||||||||||||
options |
Object |
<optional> |
Options for Transport#request | |||||||||||||||||||||||||||||||||||
callback |
function |
<optional> |
Callback that handles errors and response |
- Source:
Returns:
- Type
- Object | Promise.<never> | *
(static) CatApi#pendingTasks(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}
The CAT pending tasks operation lists the progress of all pending tasks, including task priority and time in queue.
See Also: OpenSearch - CAT pending tasks
See Also: OpenSearch - CAT pending tasks
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Accepts - common CAT parameters along with the following unique parameters:
Properties
|
|||||||||||||||||||||
options |
Object |
<optional> |
Options for Transport#request | ||||||||||||||||||||
callback |
function |
<optional> |
Callback that handles errors and response |
- Source:
Returns:
- Type
- Object | Promise.<never> | *
(static) CatApi#plugins(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}
The CAT plugins operation lists the names, components, and versions of the installed plugins.
See Also: OpenSearch - CAT plugins
See Also: OpenSearch - CAT plugins
Parameters:
Name | Type | Attributes | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Accepts - common CAT parameters along with the following unique parameters:
Properties
|
||||||||||||||||
options |
Object |
<optional> |
Options for Transport#request | |||||||||||||||
callback |
function |
<optional> |
Callback that handles errors and response |
- Source:
Returns:
- Type
- Object | Promise.<never> | *
(static) CatApi#recovery(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}
The CAT recovery operation lists all completed and ongoing index and shard recoveries.
See Also: OpenSearch - CAT recovery
See Also: OpenSearch - CAT recovery
Parameters:
Name | Type | Attributes | Description | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Accepts - common CAT parameters along with the following unique parameters:
Properties
|
||||||||||||||||||||||||||
options |
Object |
<optional> |
Options for Transport#request | |||||||||||||||||||||||||
callback |
function |
<optional> |
Callback that handles errors and response |
- Source:
Returns:
- Type
- Object | Promise.<never> | *
(static) CatApi#repositories(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}
The CAT repositories operation lists all completed and ongoing index and shard recoveries.
See Also: OpenSearch - CAT repositories
See Also: OpenSearch - CAT repositories
Parameters:
Name | Type | Attributes | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Accepts - common CAT parameters along with the following unique parameters:
Properties
|
||||||||||||||||
options |
Object |
<optional> |
Options for Transport#request | |||||||||||||||
callback |
function |
<optional> |
Callback that handles errors and response |
- Source:
Returns:
- Type
- Object | Promise.<never> | *
(static) CatApi#segments(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}
The cat segments operation lists Lucene segment-level information for each index.
See Also: OpenSearch - CAT segments
See Also: OpenSearch - CAT segments
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Accepts - common CAT parameters along with the following unique parameters:
Properties
|
|||||||||||||||||||||
options |
Object |
<optional> |
Options for Transport#request | ||||||||||||||||||||
callback |
function |
<optional> |
Callback that handles errors and response |
- Source:
Returns:
- Type
- Object | Promise.<never> | *
(static) CatApi#shards(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}
The CAT shards operation lists the state of all primary and replica shards and how they are distributed.
See Also: OpenSearch - CAT shards
See Also: OpenSearch - CAT shards
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Accepts - common CAT parameters along with the following unique parameters:
Properties
|
|||||||||||||||||||||||||||||||
options |
Object |
<optional> |
Options for Transport#request | ||||||||||||||||||||||||||||||
callback |
function |
<optional> |
Callback that handles errors and response |
- Source:
Returns:
- Type
- Object | Promise.<never> | *
(static) CatApi#snapshots(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}
The CAT snapshots operation lists all snapshots for a repository.
See Also: OpenSearch - CAT snapshots
See Also: OpenSearch - CAT snapshots
Parameters:
Name | Type | Attributes | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Accepts - common CAT parameters along with the following unique parameters:
Properties
|
||||||||||||||||
options |
Object |
<optional> |
Options for Transport#request | |||||||||||||||
callback |
function |
<optional> |
Callback that handles errors and response |
- Source:
Returns:
- Type
- Object | Promise.<never> | *
(static) CatApi#tasks(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}
The CAT tasks operation lists the progress of all tasks currently running on your cluster.
See Also: OpenSearch - CAT tasks
See Also: OpenSearch - CAT tasks
Parameters:
Name | Type | Attributes | Description | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Accepts - common CAT parameters along with the following unique parameters:
Properties
|
||||||||||||||||||||||||||
options |
Object |
<optional> |
Options for Transport#request | |||||||||||||||||||||||||
callback |
function |
<optional> |
Callback that handles errors and response |
- Source:
Returns:
- Type
- Object | Promise.<never> | *
(static) CatApi#templates(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}
The CAT templates operation lists the names, patterns, order numbers, and version numbers of index templates.
See Also: OpenSearch - CAT templates
See Also: OpenSearch - CAT templates
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Accepts - common CAT parameters along with the following unique parameters:
Properties
|
|||||||||||||||||||||
options |
Object |
<optional> |
Options for Transport#request | ||||||||||||||||||||
callback |
function |
<optional> |
Callback that handles errors and response |
- Source:
Returns:
- Type
- Object | Promise.<never> | *
(static) CatApi#threadPool(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}
The CAT thread pool operation lists the active, queued, and rejected threads of different thread pools on each node.
See Also: OpenSearch - CAT thread pool
See Also: OpenSearch - CAT thread pool
Parameters:
Name | Type | Attributes | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Accepts - common CAT parameters along with the following unique parameters:
Properties
|
||||||||||||||||
options |
Object |
<optional> |
Options for Transport#request | |||||||||||||||
callback |
function |
<optional> |
Callback that handles errors and response |
- Source:
Returns:
- Type
- Object | Promise.<never> | *