Get cluster info
Generally available
Returns basic information about the cluster.
Path parameters
-
target
string | array[string] Required 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
.
GET
/_info/{target}
Console
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"