Class HealthRequest
 IMPORTANT: CAT APIs are only intended for human consumption using the command
 line or Kibana console. They are not intended for use by applications. For
 application consumption, use the cluster health API. This API is often used
 to check malfunctioning clusters. To help you track cluster health alongside
 log files and alerting systems, the API returns timestamps in two formats:
 HH:MM:SS, which is human-readable but includes no date
 information; Unix epoch time, which is machine-sortable and
 includes date information. The latter format is useful for cluster recoveries
 that take multiple days. You can use the cat health API to verify cluster
 health across multiple nodes. You also can use the API to track the recovery
 of a large cluster over a longer period of time.
- See Also:
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch.cat.CatRequestBaseCatRequestBase.AbstractBuilder<BuilderT extends CatRequestBase.AbstractBuilder<BuilderT>>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Endpoint<HealthRequest,HealthResponse, ErrorResponse> Endpoint "cat.health".
- 
Method SummaryModifier and TypeMethodDescriptionfinal Bytesbytes()Sets the units for columns that contain a byte-size value.h()A comma-separated list of columns names to display.static HealthRequests()List of columns that determine how the table should be sorted.final TimeUnittime()Sets the units for columns that contain a time duration.final Booleants()If true, returnsHH:MM:SSand Unix epoch timestamps.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBasetoString
- 
Field Details- 
_ENDPOINTEndpoint "cat.health".
 
- 
- 
Method Details- 
of
- 
bytesSets the units for columns that contain a byte-size value. Note that byte-size value units work in terms of powers of 1024. For instance1kbmeans 1024 bytes, not 1000 bytes. If omitted, byte-size values are rendered with a suffix such askb,mb, orgb, chosen such that the numeric value of the column is as small as possible whilst still being at least1.0. If given, byte-size values are rendered as an integer with no suffix, representing the value of the column in the chosen unit. Values that are not an exact multiple of the chosen unit are rounded down.API name: bytes
- 
hA comma-separated list of columns names to display. It supports simple wildcards.API name: h
- 
sList 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.API name: s
- 
timeSets the units for columns that contain a time duration. If omitted, time duration values are rendered with a suffix such asms,s,morh, chosen such that the numeric value of the column is as small as possible whilst still being at least1.0. If given, time duration values are rendered as an integer with no suffix. Values that are not an exact multiple of the chosen unit are rounded down.API name: time
- 
tsIf true, returnsHH:MM:SSand Unix epoch timestamps.API name: ts
 
-