mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-06 21:18:31 +00:00
37 lines
862 B
Plaintext
37 lines
862 B
Plaintext
[[cluster-get-settings]]
|
|
=== Cluster get settings API
|
|
++++
|
|
<titleabbrev>Cluster get settings</titleabbrev>
|
|
++++
|
|
|
|
Returns cluster-wide settings.
|
|
|
|
[source,console]
|
|
----
|
|
GET /_cluster/settings
|
|
----
|
|
|
|
[[cluster-get-settings-api-request]]
|
|
==== {api-request-title}
|
|
|
|
`GET /_cluster/settings`
|
|
|
|
[[cluster-get-settings-api-desc]]
|
|
==== {api-description-title}
|
|
|
|
By default, this API call only returns settings that have been explicitly
|
|
defined, but can also include the default settings by calling the
|
|
`include_defaults` parameter.
|
|
|
|
|
|
[[cluster-get-settings-api-query-params]]
|
|
==== {api-query-parms-title}
|
|
|
|
|
|
include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=flat-settings]
|
|
|
|
`include_defaults`::
|
|
(Optional, Boolean) If `true`, returns all default cluster settings.
|
|
Defaults to `false`.
|
|
|
|
include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=timeoutparms] |