Get cluster-wide settings
- GET /_cluster/settings
By default, it returns only settings that have been explicitly defined.
Read the reference documentationRequired authorization
- Cluster privileges monitor
Query parameters
-
include_defaultsboolean · default: false -
If
true, also returns default values for all other cluster settings, reflecting the values in theelasticsearch.ymlfile of one of the nodes in the cluster. If the nodes in your cluster do not all have the same values in theirelasticsearch.ymlconfig files then the values returned by this API may vary from invocation to invocation and may not reflect the values that Elasticsearch uses in all situations. Use theGET _nodes/settingsAPI to fetch the settings for each individual node in your cluster.