younifyd
Menu

Update the cluster settings

Update the cluster settings

PUT/_cluster/settings

Use it in a workflow

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

Request

Query parameters

flat_settingsboolean

Return settings in flat format

master_timeoutoneOf

The period to wait for a connection to the master node.

timeoutoneOf

The period to wait for a response.

Request body

Enter the body as JSON in the step's Body field.

persistentobject

The settings that persist after the cluster restarts.

transientobject

The settings that do not persist after the cluster restarts.

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

Response

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

acknowledgedboolean
persistentobject
transientobject
json
{
  "acknowledged": false,
  "persistent": {},
  "transient": {}
}

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

Update the cluster settings — Elasticsearch — Documentation