# Unable to retrieve cluster health status using JEST API

**URL:** <https://discuss.elastic.co/t/unable-to-retrieve-cluster-health-status-using-jest-api/13418>\
**Category:** Elasticsearch\
**Created:** [August 31, 2013, 2:11am UTC](https://discuss.elastic.co/t/unable-to-retrieve-cluster-health-status-using-jest-api/13418 "2013-08-31T02:11:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amit\_Soni](https://avatars.discourse-cdn.com/v4/letter/a/c0e974/32.png) [@Amit\_Soni](https://discuss.elastic.co/u/Amit_Soni)\
**Post date:** [August 31, 2013, 2:11am UTC](https://discuss.elastic.co/t/unable-to-retrieve-cluster-health-status-using-jest-api/13418/1 "2013-08-31T02:11:55Z")

</div>

Hi everyone - I have been using JEST APIs to make HTTP REST requests to  
elastic search cluster. This works fine for queries but I am unable to find  
a way to retrieve cluster health status using JEST.

Hence looking for a way to retrieve cluster health status using JEST.  
Thoughts anyone?

-Amit.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![ferhatsb](https://avatars.discourse-cdn.com/v4/letter/f/977dab/32.png) [@ferhatsb](https://discuss.elastic.co/u/ferhatsb)\
**Post date:** [August 31, 2013, 9:28am UTC](https://discuss.elastic.co/t/unable-to-retrieve-cluster-health-status-using-jest-api/13418/2 "2013-08-31T09:28:57Z")

</div>

With 0.0.5-SNAPSHOT

Health health = new Health.Builder().build();  
JestResult result = jestClient.execute(health);

Ferhat

On Saturday, August 31, 2013 5:11:55 AM UTC+3, amit.soni wrote:

> Hi everyone - I have been using JEST APIs to make HTTP REST requests to  
> Elasticsearch cluster. This works fine for queries but I am unable to find  
> a way to retrieve cluster health status using JEST.
> 
> Hence looking for a way to retrieve cluster health status using JEST.  
> Thoughts anyone?
> 
> -Amit.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [July 6, 2017, 2:18am UTC](https://discuss.elastic.co/t/unable-to-retrieve-cluster-health-status-using-jest-api/13418/3 "2017-07-06T02:18:41Z")

</div>


