Get cluster info
Generally available
Returns basic information about the cluster.
Path parameters
-
Limits the information returned to the specific target. Supports a comma-separated list, such as http,ingest.
Values are
_all
,http
,ingest
,thread_pool
, orscript
.
Responses
-
Hide response attributes Show response attributes object
-
Hide http attributes Show http attributes object
-
Current number of open HTTP connections for the node.
-
Total number of HTTP connections opened for the node.
-
Information on current and recently-closed HTTP client connections. Clients that have been closed longer than the
http.client_stats.closed_channels.max_age
setting will not be represented here.Hide clients attributes Show clients attributes object
-
Unique ID for the HTTP client.
-
Reported agent for the HTTP client. If unavailable, this property is not included in the response.
-
Local address for the HTTP connection.
-
Remote address for the HTTP connection.
-
The URI of the client’s most recent request.
-
Time at which the client opened the connection.
-
Time at which the client closed the connection if the connection is closed.
-
Time of the most recent request from this client.
-
Number of requests from this client.
-
Cumulative size in bytes of all requests from this client.
-
Value from the client’s
x-opaque-id
HTTP header. If unavailable, this property is not included in the response.
-
-
-
Hide ingest attributes Show ingest attributes object
-
Contains statistics about ingest pipelines for the node.
Hide pipelines attribute Show pipelines attribute object
-
Hide * attributes Show * attributes object
-
Total number of documents ingested during the lifetime of this node.
-
Total number of documents currently being ingested.
-
Total number of failed ingest operations during the lifetime of this node.
-
Total number of ingest processors.
-
Time unit for milliseconds
-
Total number of bytes of all documents ingested by the pipeline. This field is only present on pipelines which are the first to process a document. Thus, it is not present on pipelines which only serve as a final pipeline after a default pipeline, a pipeline run after a reroute processor, or pipelines in pipeline processors.
-
Total number of bytes of all documents produced by the pipeline. This field is only present on pipelines which are the first to process a document. Thus, it is not present on pipelines which only serve as a final pipeline after a default pipeline, a pipeline run after a reroute processor, or pipelines in pipeline processors. In situations where there are subsequent pipelines, the value represents the size of the document after all pipelines have run.
-
-
-
Hide total attributes Show total attributes object
-
Total number of documents ingested during the lifetime of this node.
-
Total number of documents currently being ingested.
-
Total number of failed ingest operations during the lifetime of this node.
-
Time unit for milliseconds
-
-
-
Hide thread_pool attribute Show thread_pool attribute object
-
Hide * attributes Show * attributes object
-
Number of active threads in the thread pool.
-
Number of tasks completed by the thread pool executor.
-
Highest number of active threads in the thread pool.
-
Number of tasks in queue for the thread pool.
-
Number of tasks rejected by the thread pool executor.
-
Number of threads in the thread pool.
-
-
-
Hide script attributes Show script attributes object
-
Total number of times the script cache has evicted old data.
-
Total number of inline script compilations performed by the node.
-
Contains this recent history of script compilations.
-
Total number of times the script compilation circuit breaker has limited inline script compilations.
-
GET /_info/_all
resp = client.cluster.info(
target="_all",
)
const response = await client.cluster.info({
target: "_all",
});
response = client.cluster.info(
target: "_all"
)
$resp = $client->cluster()->info([
"target" => "_all",
]);
curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_info/_all"