Get cluster-wide settings
/_cluster/settings By default, it returns only settings that have been explicitly defined.
Required authorization
- Cluster privileges:
monitor
Parameters
query Query Parameters
| Name | Type |
|---|---|
flat_settings If | boolean |
include_defaults If | boolean |
master_timeout Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. | type TypesDuration = string | "-1" | "0" |
timeout Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. | type TypesDuration = string | "-1" | "0" |