Get circuit breakers statistics
Generally available
All methods and paths for this operation:
IMPORTANT: CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications.
Required authorization
- Cluster privileges:
monitor
Path parameters
-
A comma-separated list of regular-expressions to filter the circuit breakers in the output
Query parameters
-
A comma-separated list of columns names to display. It supports simple wildcards.
Supported values include:
node_id(orid): Persistent node IDnode_name(ornn): Node namebreaker(orbr): Breaker namelimit(orl): Limit sizelimit_bytes(orlb): Limit size in bytesestimated(ore): Estimated sizeestimated_bytes(oreb): Estimated size in bytestripped(ort): Tripped countoverhead(oro): Overhead
Values are
node_id,id,node_name,nn,breaker,br,limit,l,limit_bytes,lb,estimated,e,estimated_bytes,eb,tripped,t,overhead, oro. -
List of columns that determine how the table should be sorted. Sorting defaults to ascending and can be changed by setting
:ascor:descas a suffix to the column name. -
If
true, the request computes the list of selected nodes from the local cluster state. Iffalsethe list of selected nodes are computed from the cluster state of the master node. In both cases the coordinating node will send requests for further information to each selected node. -
Period to wait for a connection to the master node.
External documentation
GET /_cat/circuit_breaker?v=true&format=json
resp = client.cat.circuit_breaker(
v=True,
format="json",
)
const response = await client.cat.circuitBreaker({
v: "true",
format: "json",
});
response = client.cat.circuit_breaker(
v: "true",
format: "json"
)
$resp = $client->cat()->circuitBreaker([
"v" => "true",
"format" => "json",
]);
curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_cat/circuit_breaker?v=true&format=json"
[
{
"breaker": "request",
"estimated": "0b",
"limit": "614.3mb",
"node_id": "ozKxpP9oS3SL0Sp-Mfxc6w",
"tripped": "0"
},
{
"breaker": "fielddata",
"estimated": "0b",
"limit": "409.5mb",
"node_id": "ozKxpP9oS3SL0Sp-Mfxc6w",
"tripped": "0"
}
]