get-settings.asciidoc 633 B

1234567891011121314151617181920
  1. [[cluster-get-settings]]
  2. === Cluster Get Settings
  3. The cluster get settings API allows to retrieve the cluster wide settings.
  4. [source,js]
  5. --------------------------------------------------
  6. GET /_cluster/settings
  7. --------------------------------------------------
  8. // CONSOLE
  9. Or
  10. [source,js]
  11. --------------------------------------------------
  12. GET /_cluster/settings?include_defaults=true
  13. --------------------------------------------------
  14. // CONSOLE
  15. In the second example above, the parameter `include_defaults` ensures that the settings which were not set explicitly
  16. are also returned. By default `include_defaults` is set to false.