Returns the health of the cluster Added in 8.7.0
Path parameters
-
A feature of the cluster, as returned by the top-level health report API.
Responses
-
200 application/json
Hide response attributes Show response attributes object
-
Additional properties are allowed.
Hide indicators attributes Show indicators attributes object
-
master_is_stable object
Additional properties are allowed.
Hide master_is_stable attributes Show master_is_stable attributes object
-
Values are
green
,yellow
,red
, orunknown
. -
impacts array[object]
Hide impacts attributes Show impacts attributes object
-
Values are
search
,ingest
,backup
, ordeployment_management
.
-
diagnosis array[object]
Hide diagnosis attributes Show diagnosis attributes object
-
Additional properties are allowed.
-
details object
Additional properties are allowed.
Hide details attributes Show details attributes object
-
Additional properties are allowed.
-
Additional properties are allowed.
-
exception_fetching_history object
Additional properties are allowed.
Hide exception_fetching_history attributes Show exception_fetching_history attributes object
-
cluster_formation array[object]
Additional properties are allowed.
-
-
-
shards_availability object
Additional properties are allowed.
Hide shards_availability attributes Show shards_availability attributes object
-
Values are
green
,yellow
,red
, orunknown
. -
impacts array[object]
Hide impacts attributes Show impacts attributes object
-
Values are
search
,ingest
,backup
, ordeployment_management
.
-
diagnosis array[object]
Hide diagnosis attributes Show diagnosis attributes object
-
Additional properties are allowed.
-
details object
Additional properties are allowed.
Hide details attributes Show details attributes object
-
-
disk object
Additional properties are allowed.
Hide disk attributes Show disk attributes object
-
Values are
green
,yellow
,red
, orunknown
. -
impacts array[object]
Hide impacts attributes Show impacts attributes object
-
Values are
search
,ingest
,backup
, ordeployment_management
.
-
diagnosis array[object]
Hide diagnosis attributes Show diagnosis attributes object
-
Additional properties are allowed.
-
details object
Additional properties are allowed.
Hide details attributes Show details attributes object
-
-
repository_integrity object
Additional properties are allowed.
Hide repository_integrity attributes Show repository_integrity attributes object
-
Values are
green
,yellow
,red
, orunknown
. -
impacts array[object]
Hide impacts attributes Show impacts attributes object
-
Values are
search
,ingest
,backup
, ordeployment_management
.
-
diagnosis array[object]
Hide diagnosis attributes Show diagnosis attributes object
-
Additional properties are allowed.
-
details object
Additional properties are allowed.
Hide details attributes Show details attributes object
-
total_repositories number
-
corrupted_repositories number
-
corrupted array[string]
-
-
-
data_stream_lifecycle object
Additional properties are allowed.
Hide data_stream_lifecycle attributes Show data_stream_lifecycle attributes object
-
Values are
green
,yellow
,red
, orunknown
. -
impacts array[object]
Hide impacts attributes Show impacts attributes object
-
Values are
search
,ingest
,backup
, ordeployment_management
.
-
diagnosis array[object]
Hide diagnosis attributes Show diagnosis attributes object
-
Additional properties are allowed.
-
details object
Additional properties are allowed.
Hide details attributes Show details attributes object
-
stagnating_backing_indices array[object]
Additional properties are allowed.
-
-
ilm object
Additional properties are allowed.
Hide ilm attributes Show ilm attributes object
-
Values are
green
,yellow
,red
, orunknown
. -
impacts array[object]
Hide impacts attributes Show impacts attributes object
-
Values are
search
,ingest
,backup
, ordeployment_management
.
-
diagnosis array[object]
Hide diagnosis attributes Show diagnosis attributes object
-
Additional properties are allowed.
-
details object
Additional properties are allowed.
Hide details attributes Show details attributes object
-
Values are
RUNNING
,STOPPING
, orSTOPPED
.
-
-
-
slm object
Additional properties are allowed.
Hide slm attributes Show slm attributes object
-
Values are
green
,yellow
,red
, orunknown
. -
impacts array[object]
Hide impacts attributes Show impacts attributes object
-
Values are
search
,ingest
,backup
, ordeployment_management
.
-
diagnosis array[object]
Hide diagnosis attributes Show diagnosis attributes object
-
Additional properties are allowed.
-
details object
Additional properties are allowed.
Hide details attributes Show details attributes object
-
Values are
RUNNING
,STOPPING
, orSTOPPED
. -
unhealthy_policies object
Additional properties are allowed.
Hide unhealthy_policies attributes Show unhealthy_policies attributes object
-
-
-
shards_capacity object
Additional properties are allowed.
Hide shards_capacity attributes Show shards_capacity attributes object
-
Values are
green
,yellow
,red
, orunknown
. -
impacts array[object]
Hide impacts attributes Show impacts attributes object
-
Values are
search
,ingest
,backup
, ordeployment_management
.
-
diagnosis array[object]
Hide diagnosis attributes Show diagnosis attributes object
-
Additional properties are allowed.
-
details object
Additional properties are allowed.
Hide details attributes Show details attributes object
-
Additional properties are allowed.
Hide data attributes Show data attributes object
-
current_used_shards number
-
Additional properties are allowed.
Hide frozen attributes Show frozen attributes object
-
current_used_shards number
-
-
-
-
status string
Values are
green
,yellow
,red
, orunknown
.
curl \
-X GET http://api.example.com/_health_report/{feature}
{
"cluster_name": "string",
"indicators": {
"": {
"status": "green",
"symptom": "string",
"impacts": [
{
"description": "string",
"id": "string",
"impact_areas": [
"search"
],
"severity": 42.0
}
],
"diagnosis": [
{
"id": "string",
"action": "string",
"affected_resources": {},
"cause": "string",
"help_url": "string"
}
],
"details": {
"data": {
"max_shards_in_cluster": 42.0,
"current_used_shards": 42.0
},
"frozen": {
"max_shards_in_cluster": 42.0,
"current_used_shards": 42.0
}
}
}
},
"status": "green"
}