extends |
AbstractNamespace |
---|
Class CatNamespace
NOTE: This file is autogenerated using util/GenerateEndpoints.php
Methods | ||||
---|---|---|---|---|
public
|
aliases(array $params = []): array
Shows information about currently configured aliases to indexes including filter and routing info.
Shows information about currently configured aliases to indexes including filter and routing info. $params['name'] = (array) A comma-separated list of aliases to retrieve. Supports wildcards ( Parameters
|
# | ||
public
|
allPitSegments(array $params = []): array
Lists all active point-in-time segments.
Lists all active point-in-time segments. $params['bytes'] = (enum) The unit in which to display byte values. (Options = b,g,gb,k,kb,m,mb,p,pb,t,tb) $params['format'] = (string) A short version of the Accept header, e.g. json, yaml. $params['h'] = (array) Comma-separated list of column names to display. $params['help'] = (boolean) Return help information. (Default = false) $params['s'] = (array) Comma-separated list of column names or column aliases to sort by. $params['v'] = (boolean) Verbose mode. Display column headers. (Default = false) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
allocation(array $params = []): array
Provides a snapshot of how many shards are allocated to each data node and how much disk space they are using.
Provides a snapshot of how many shards are allocated to each data node and how much disk space they are using. $params['node_id'] = (array) Comma-separated list of node identifiers or names used to limit the returned information. $params['bytes'] = (enum) The unit used to display byte values. (Options = b,g,gb,k,kb,m,mb,p,pb,t,tb) $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node. $params['format'] = (string) A short version of the Accept header, e.g. json, yaml. $params['h'] = (array) Comma-separated list of column names to display. $params['help'] = (boolean) Return help information. (Default = false) $params['local'] = (boolean) Return local information, do not retrieve the state from cluster-manager node. (Default = false) $params['master_timeout'] = (string) Operation timeout for connection to master node. $params['s'] = (array) Comma-separated list of column names or column aliases to sort by. $params['v'] = (boolean) Verbose mode. Display column headers. (Default = false) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
clusterManager(array $params = []): array
Returns information about the cluster-manager node.
Returns information about the cluster-manager node. $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node. $params['format'] = (string) A short version of the Accept header, e.g. json, yaml. $params['h'] = (array) Comma-separated list of column names to display. $params['help'] = (boolean) Return help information. (Default = false) $params['local'] = (boolean) Return local information, do not retrieve the state from cluster-manager node. (Default = false) $params['master_timeout'] = (string) Operation timeout for connection to master node. $params['s'] = (array) Comma-separated list of column names or column aliases to sort by. $params['v'] = (boolean) Verbose mode. Display column headers. (Default = false) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
count(array $params = []): array
Provides quick access to the document count of the entire cluster, or individual indexes.
Provides quick access to the document count of the entire cluster, or individual indexes. $params['index'] = (array) Comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards ( Parameters
|
# | ||
public
|
fielddata(array $params = []): array
Shows how much heap memory is currently being used by fielddata on every data node in the cluster.
Shows how much heap memory is currently being used by fielddata on every data node in the cluster. $params['fields'] = (array) Comma-separated list of fields used to limit returned information. To retrieve all fields, omit this parameter. $params['bytes'] = (enum) The unit used to display byte values. (Options = b,g,gb,k,kb,m,mb,p,pb,t,tb) $params['format'] = (string) A short version of the Accept header, e.g. json, yaml. $params['h'] = (array) Comma-separated list of column names to display. $params['help'] = (boolean) Return help information. (Default = false) $params['s'] = (array) Comma-separated list of column names or column aliases to sort by. $params['v'] = (boolean) Verbose mode. Display column headers. (Default = false) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
health(array $params = []): array
Returns a concise representation of the cluster health.
Returns a concise representation of the cluster health. $params['format'] = (string) A short version of the Accept header, e.g. json, yaml.
$params['h'] = (array) Comma-separated list of column names to display.
$params['help'] = (boolean) Return help information. (Default = false)
$params['s'] = (array) Comma-separated list of column names or column aliases to sort by.
$params['time'] = (enum) The unit used to display time values. (Options = d,h,m,micros,ms,nanos,s)
$params['ts'] = (boolean) If true, returns Parameters
|
# | ||
public
|
help(array $params = []): array
Returns help for the Cat APIs.
Returns help for the Cat APIs. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
indices(array $params = []): array
Returns information about indexes: number of primaries and replicas, document counts, disk size, ...
Returns information about indexes: number of primaries and replicas, document counts, disk size, ... $params['index'] = (array) Comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards ( Parameters
|
# | ||
public
|
master(array $params = []): array
Returns information about the cluster-manager node.
Returns information about the cluster-manager node. $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node. $params['format'] = (string) A short version of the Accept header, e.g. json, yaml. $params['h'] = (array) Comma-separated list of column names to display. $params['help'] = (boolean) Return help information. (Default = false) $params['local'] = (boolean) Return local information, do not retrieve the state from cluster-manager node. (Default = false) $params['master_timeout'] = (string) Operation timeout for connection to master node. $params['s'] = (array) Comma-separated list of column names or column aliases to sort by. $params['v'] = (boolean) Verbose mode. Display column headers. (Default = false) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
nodeattrs(array $params = []): array
Returns information about custom node attributes.
Returns information about custom node attributes. $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node. $params['format'] = (string) A short version of the Accept header, e.g. json, yaml. $params['h'] = (array) Comma-separated list of column names to display. $params['help'] = (boolean) Return help information. (Default = false) $params['local'] = (boolean) Return local information, do not retrieve the state from cluster-manager node. (Default = false) $params['master_timeout'] = (string) Operation timeout for connection to master node. $params['s'] = (array) Comma-separated list of column names or column aliases to sort by. $params['v'] = (boolean) Verbose mode. Display column headers. (Default = false) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
nodes(array $params = []): array
Returns basic statistics about performance of cluster nodes.
Returns basic statistics about performance of cluster nodes. $params['bytes'] = (enum) The unit used to display byte values. (Options = b,g,gb,k,kb,m,mb,p,pb,t,tb)
$params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node.
$params['format'] = (string) A short version of the Accept header, e.g. json, yaml.
$params['full_id'] = (any) If Parameters
|
# | ||
public
|
pendingTasks(array $params = []): array
Returns a concise representation of the cluster pending tasks.
Returns a concise representation of the cluster pending tasks. $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node. $params['format'] = (string) A short version of the Accept header, e.g. json, yaml. $params['h'] = (array) Comma-separated list of column names to display. $params['help'] = (boolean) Return help information. (Default = false) $params['local'] = (boolean) Return local information, do not retrieve the state from cluster-manager node. (Default = false) $params['master_timeout'] = (string) Operation timeout for connection to master node. $params['s'] = (array) Comma-separated list of column names or column aliases to sort by. $params['time'] = (enum) The unit in which to display time values. (Options = d,h,m,micros,ms,nanos,s) $params['v'] = (boolean) Verbose mode. Display column headers. (Default = false) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
pitSegments(array $params = []): array
List segments for one or several PITs.
List segments for one or several PITs. $params['bytes'] = (enum) The unit in which to display byte values. (Options = b,g,gb,k,kb,m,mb,p,pb,t,tb) $params['format'] = (string) A short version of the Accept header, e.g. json, yaml. $params['h'] = (array) Comma-separated list of column names to display. $params['help'] = (boolean) Return help information. (Default = false) $params['s'] = (array) Comma-separated list of column names or column aliases to sort by. $params['v'] = (boolean) Verbose mode. Display column headers. (Default = false) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
plugins(array $params = []): array
Returns information about installed plugins across nodes node.
Returns information about installed plugins across nodes node. $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node. $params['format'] = (string) A short version of the Accept header, e.g. json, yaml. $params['h'] = (array) Comma-separated list of column names to display. $params['help'] = (boolean) Return help information. (Default = false) $params['local'] = (boolean) Return local information, do not retrieve the state from cluster-manager node. (Default = false) $params['master_timeout'] = (string) Operation timeout for connection to master node. $params['s'] = (array) Comma-separated list of column names or column aliases to sort by. $params['v'] = (boolean) Verbose mode. Display column headers. (Default = false) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
recovery(array $params = []): array
Returns information about index shard recoveries, both on-going completed.
Returns information about index shard recoveries, both on-going completed. $params['index'] = (array) A comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards ( Parameters
|
# | ||
public
|
repositories(array $params = []): array
Returns information about snapshot repositories registered in the cluster.
Returns information about snapshot repositories registered in the cluster. $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node. $params['format'] = (string) A short version of the Accept header, e.g. json, yaml. $params['h'] = (array) Comma-separated list of column names to display. $params['help'] = (boolean) Return help information. (Default = false) $params['local'] = (boolean) Return local information, do not retrieve the state from cluster-manager node. (Default = false) $params['master_timeout'] = (string) Operation timeout for connection to master node. $params['s'] = (array) Comma-separated list of column names or column aliases to sort by. $params['v'] = (boolean) Verbose mode. Display column headers. (Default = false) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
segmentReplication(array $params = []): array
Returns information about both on-going and latest completed Segment Replication events.
Returns information about both on-going and latest completed Segment Replication events. $params['index'] = (array) Comma-separated list or wildcard expression of index names to limit the returned information.
$params['active_only'] = (boolean) If Parameters
|
# | ||
public
|
segments(array $params = []): array
Provides low-level information about the segments in the shards of an index.
Provides low-level information about the segments in the shards of an index. $params['index'] = (array) A comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards ( Parameters
|
# | ||
public
|
shards(array $params = []): array
Provides a detailed view of shard allocation on nodes.
Provides a detailed view of shard allocation on nodes. $params['index'] = (array) A comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards ( Parameters
|
# | ||
public
|
snapshots(array $params = []): array
Returns all snapshots in a specific repository.
Returns all snapshots in a specific repository. $params['repository'] = (array) A comma-separated list of snapshot repositories used to limit the request. Accepts wildcard expressions. Parameters
|
# | ||
public
|
tasks(array $params = []): array
Returns information about the tasks currently executing on one or more nodes in the cluster.
Returns information about the tasks currently executing on one or more nodes in the cluster. $params['actions'] = (array) The task action names, which are used to limit the response.
$params['detailed'] = (boolean) If Parameters
|
# | ||
public
|
templates(array $params = []): array
Returns information about existing templates.
Returns information about existing templates. $params['name'] = (string) The name of the template to return. Accepts wildcard expressions. If omitted, all templates are returned. $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node. $params['format'] = (string) A short version of the Accept header, e.g. json, yaml. $params['h'] = (array) Comma-separated list of column names to display. $params['help'] = (boolean) Return help information. (Default = false) $params['local'] = (boolean) Return local information, do not retrieve the state from cluster-manager node. (Default = false) $params['master_timeout'] = (string) Operation timeout for connection to master node. $params['s'] = (array) Comma-separated list of column names or column aliases to sort by. $params['v'] = (boolean) Verbose mode. Display column headers. (Default = false) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
threadPool(array $params = []): array
Returns cluster-wide thread pool statistics per node.By default the active, queue and rejected statistics are returned…
Returns cluster-wide thread pool statistics per node.By default the active, queue and rejected statistics are returned for all thread pools. $params['thread_pool_patterns'] = (array) A comma-separated list of thread pool names used to limit the request. Accepts wildcard expressions. $params['cluster_manager_timeout'] = (string) Operation timeout for connection to cluster-manager node. $params['format'] = (string) A short version of the Accept header, e.g. json, yaml. $params['h'] = (array) Comma-separated list of column names to display. $params['help'] = (boolean) Return help information. (Default = false) $params['local'] = (boolean) Return local information, do not retrieve the state from cluster-manager node. (Default = false) $params['master_timeout'] = (string) Operation timeout for connection to master node. $params['s'] = (array) Comma-separated list of column names or column aliases to sort by. $params['size'] = (integer) The multiplier in which to display values. $params['v'] = (boolean) Verbose mode. Display column headers. (Default = false) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# |
Methods inherited from OpenSearch\Namespaces\AbstractNamespace |
---|
__construct(), extractArgument(), performRequest() |
Properties inherited from OpenSearch\Namespaces\AbstractNamespace |
---|
$transport, $endpointFactory, $endpoints |