# Get ClusterHealthResponse using RestHighLevelClient in 6.3.2

**URL:** https://discuss.elastic.co/t/get-clusterhealthresponse-using-resthighlevelclient-in-6-3-2/145092
**Category:** Elasticsearch
**Created:** [August 20, 2018, 6:00am UTC](https://discuss.elastic.co/t/get-clusterhealthresponse-using-resthighlevelclient-in-6-3-2/145092 "2018-08-20T06:00:20Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![madhan3396](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/madhan3396/32/57318_2.png) [@madhan3396](https://discuss.elastic.co/u/madhan3396)
#### Post date: [August 20, 2018, 6:00am UTC](https://discuss.elastic.co/t/get-clusterhealthresponse-using-resthighlevelclient-in-6-3-2/145092/1 "2018-08-20T06:00:20Z")

</div>

In the documentation of master version the Cluster Health API is available under RestHighLevelClient.

How to achieve the same in version 6.3.2 using RestHighLevelClient?  
I'm looking for ClusterHealthResponse.

Thanks in advance

---

<div class="post-metadata">

### Author: ![javanna](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/javanna/32/4698_2.png) [@javanna](https://discuss.elastic.co/u/javanna)
#### Post date: [August 24, 2018, 9:41am UTC](https://discuss.elastic.co/t/get-clusterhealthresponse-using-resthighlevelclient-in-6-3-2/145092/2 "2018-08-24T09:41:41Z")

</div>

Hi,  
cluster health has been added with the 6.4.0 version of the client that was just released, see [https://github.com/elastic/elasticsearch/pull/29331](https://github.com/elastic/elasticsearch/pull/29331) . It is not available in previous versions.

Cheers  
Luca

---

<div class="post-metadata">

### Author: ![madhan3396](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/madhan3396/32/57318_2.png) [@madhan3396](https://discuss.elastic.co/u/madhan3396)
#### Post date: [August 29, 2018, 5:39am UTC](https://discuss.elastic.co/t/get-clusterhealthresponse-using-resthighlevelclient-in-6-3-2/145092/3 "2018-08-29T05:39:05Z")

</div>

Thank you javanna.

Is there any other api to get list of indices in version 6.3.2?

Regards  
Madhan Kumar

---

<div class="post-metadata">

### Author: ![javanna](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/javanna/32/4698_2.png) [@javanna](https://discuss.elastic.co/u/javanna)
#### Post date: [August 29, 2018, 8:30am UTC](https://discuss.elastic.co/t/get-clusterhealthresponse-using-resthighlevelclient-in-6-3-2/145092/4 "2018-08-29T08:30:41Z")

</div>

You can check out in our docs which API are supported in 6.3, the following ones are specifically the indices API: [https://www.elastic.co/guide/en/elasticsearch/client/java-rest/6.3/\_indices\_apis.html](https://www.elastic.co/guide/en/elasticsearch/client/java-rest/6.3/_indices_apis.html) .

We support indices exist but there isn't yet support for an API that allows to list indices. I am afraid you will need to resort to using the low-level REST client.

Cheers  
Luca

---

<div class="post-metadata">

### Author: ![madhan3396](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/madhan3396/32/57318_2.png) [@madhan3396](https://discuss.elastic.co/u/madhan3396)
#### Post date: [August 29, 2018, 11:04am UTC](https://discuss.elastic.co/t/get-clusterhealthresponse-using-resthighlevelclient-in-6-3-2/145092/5 "2018-08-29T11:04:52Z")

</div>

Thats fine.

> [@javanna](#):
>
> I am afraid you will need to resort to using the low-level REST client.

Is it possible to get via low level rest client(6.3.2)?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [September 26, 2018, 11:04am UTC](https://discuss.elastic.co/t/get-clusterhealthresponse-using-resthighlevelclient-in-6-3-2/145092/6 "2018-09-26T11:04:55Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
