younifyd
Menu

Get cluster-wide settings

Get cluster-wide settings

GET/_cluster/settings

Use it in a workflow

  1. Add a step and choose the Elasticsearch connector.
  2. Pick the Get cluster-wide settings action (under cluster).
  3. Fill in the fields below, then reference the result from later steps as {{getClusterWideSettings.response.data}}.

Request

Query parameters

flat_settingsboolean

If `true`, returns settings in flat format.

include_defaultsboolean

If `true`, also returns the values of all other cluster settings set in the `elasticsearch.yml` file on one of the nodes in your cluster, together with the default values of all other cluster settings on that node. The default value of each setting may depend on the values of other settings on that node. If the nodes in your cluster do not all have the same configuration then the values returned by this API may vary from invocation to invocation and may not reflect the values that Elasticsearch uses in all situations. Use the `GET _nodes/settings` API to fetch the settings for each individual node in your cluster.

master_timeoutoneOf

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.

timeoutoneOf

Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.

Response

Returns 200 with an object. Read it in later steps with {{getClusterWideSettings.response.data.<field>}}.

persistentobject

The settings that persist after the cluster restarts.

transientobject

The settings that do not persist after the cluster restarts.

defaultsobject

The default setting values.

json
{
  "persistent": {},
  "transient": {},
  "defaults": {}
}

Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.

Get cluster-wide settings — Elasticsearch — Documentation