The cluster get settings API allows to retrieve the cluster wide settings.
GET /_cluster/settings
Or
GET /_cluster/settings?include_defaults=true
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.