OpenSearch/docs/reference/cluster/get-settings.asciidoc

20 lines
633 B
Plaintext
Raw Normal View History

[[cluster-get-settings]]
=== Cluster Get Settings
The cluster get settings API allows to retrieve the cluster wide settings.
[source,js]
--------------------------------------------------
GET /_cluster/settings
--------------------------------------------------
// CONSOLE
Or
[source,js]
--------------------------------------------------
GET /_cluster/settings?include_defaults=true
--------------------------------------------------
// CONSOLE
In the second example above, the parameter `include_defaults` ensures that the settings which were not set explicitly
are also returned. By default `include_defaults` is set to false.