# Read cluster settings with Java API

**URL:** <https://discuss.elastic.co/t/read-cluster-settings-with-java-api/95341>\
**Category:** Elasticsearch\
**Created:** [August 1, 2017, 1:04pm UTC](https://discuss.elastic.co/t/read-cluster-settings-with-java-api/95341 "2017-08-01T13:04:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chr7s](https://avatars.discourse-cdn.com/v4/letter/c/90db22/32.png) [@chr7s](https://discuss.elastic.co/u/chr7s)\
**Post date:** [August 1, 2017, 1:04pm UTC](https://discuss.elastic.co/t/read-cluster-settings-with-java-api/95341/1 "2017-08-01T13:04:53Z")

</div>

Hi everyone,

is it possible to read cluster settings with Elasticsearch's Java API? I want to read the value of the setting "cluster.routing.allocation.enable". But I only find ways to update settings and not read a setting with the Java API.

So, is there anyone who can help me? Thanks in advance!

---

<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:** [August 29, 2017, 1:04pm UTC](https://discuss.elastic.co/t/read-cluster-settings-with-java-api/95341/2 "2017-08-29T13:04:59Z")

</div>

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