# Removing transient settings from cluster

**URL:** <https://discuss.elastic.co/t/removing-transient-settings-from-cluster/304958>\
**Category:** Elasticsearch\
**Created:** [May 17, 2022, 3:06pm UTC](https://discuss.elastic.co/t/removing-transient-settings-from-cluster/304958 "2022-05-17T15:06:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yquirion](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yquirion/32/107068_2.png) [@yquirion](https://discuss.elastic.co/u/yquirion)\
**Post date:** [May 17, 2022, 3:06pm UTC](https://discuss.elastic.co/t/removing-transient-settings-from-cluster/304958/1 "2022-05-17T15:06:19Z")

</div>

Hello,

I've set the following settings into my cluster for a temporatry moment:

```auto
PUT _cluster/settings
{
  "transient": {
   
    "cluster.routing.allocation.disk.watermark.low": "90%",
    "cluster.routing.allocation.disk.watermark.high": "95%",
    "cluster.routing.allocation.disk.watermark.flood_stage": "99%",
    "cluster.info.update.interval": "1m"
  }
}

```

Now I would like to remove them, so I've tried the following:

```auto
PUT _cluster/settings
{
  "transient": {
    "cluster.routing.allocation.disk.watermark.low": ""
  }
}

```

And I got this error:

```auto
{
  "error" : {
    "root_cause" : [
      {
        "type" : "illegal_argument_exception",
        "reason" : "failed to parse setting [cluster.routing.allocation.disk.watermark.low] with value [] as a size in bytes: unit is missing or unrecognized"
      }
    ],
    "type" : "illegal_argument_exception",
    "reason" : "failed to parse setting [cluster.routing.allocation.disk.watermark.low] with value [] as a size in bytes: unit is missing or unrecognized",
    "caused_by" : {
      "type" : "parse_exception",
      "reason" : "failed to parse setting [cluster.routing.allocation.disk.watermark.low] with value [] as a size in bytes: unit is missing or unrecognized",
      "suppressed" : [
        {
          "type" : "parse_exception",
          "reason" : "Invalid ratio or percentage []"
        }
      ]
    }
  },
  "status" : 400
}

```

Any idea how can I get rid of those transient parameters from my cluster?

Regards,  
Yanick

---

<div class="post-metadata">

**Author:** ![yquirion](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yquirion/32/107068_2.png) [@yquirion](https://discuss.elastic.co/u/yquirion)\
**Post date:** [May 17, 2022, 3:16pm UTC](https://discuss.elastic.co/t/removing-transient-settings-from-cluster/304958/2 "2022-05-17T15:16:24Z")

</div>

I think I found it:

```auto
PUT _cluster/settings
{
  "transient": {
   
    "cluster.routing.allocation.disk.watermark.low": null,
    "cluster.routing.allocation.disk.watermark.high": null,
    "cluster.routing.allocation.disk.watermark.flood_stage": null,
    "cluster.info.update.interval": null
  }
}

```

Now all transient values are gone from the cluster.

Thanks!  
Yanick

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 14, 2022, 3:16pm UTC](https://discuss.elastic.co/t/removing-transient-settings-from-cluster/304958/3 "2022-06-14T15:16:49Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
