# How to discover cluster names?

**URL:** <https://discuss.elastic.co/t/how-to-discover-cluster-names/7392>\
**Category:** Elasticsearch\
**Created:** [April 19, 2012, 6:42am UTC](https://discuss.elastic.co/t/how-to-discover-cluster-names/7392 "2012-04-19T06:42:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eric\_Jain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eric_jain/32/834_2.png) [@Eric\_Jain](https://discuss.elastic.co/u/Eric_Jain)\
**Post date:** [April 19, 2012, 6:42am UTC](https://discuss.elastic.co/t/how-to-discover-cluster-names/7392/1 "2012-04-19T06:42:54Z")

</div>

Can I use the Java API to discover the names of all elasticsearch  
clusters in the local network?

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [April 21, 2012, 11:16am UTC](https://discuss.elastic.co/t/how-to-discover-cluster-names/7392/2 "2012-04-21T11:16:30Z")

</div>

No, there isn't an option to do it. You need to know which nodes to hit.

On Thu, Apr 19, 2012 at 9:42 AM, Eric Jain [eric.jain@gmail.com](mailto:eric.jain@gmail.com) wrote:

> Can I use the Java API to discover the names of all elasticsearch  
> clusters in the local network?

---

<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, 3:31am UTC](https://discuss.elastic.co/t/how-to-discover-cluster-names/7392/3 "2017-07-06T03:31:35Z")

</div>

Closed on July 6, 2017, 3:31am UTC


