# Remove cluster setting

**URL:** <https://discuss.elastic.co/t/remove-cluster-setting/137781>\
**Category:** Elasticsearch\
**Created:** [June 28, 2018, 11:51am UTC](https://discuss.elastic.co/t/remove-cluster-setting/137781 "2018-06-28T11:51:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pjanzen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pjanzen/32/13756_2.png) [@pjanzen](https://discuss.elastic.co/u/pjanzen)\
**Post date:** [June 28, 2018, 11:51am UTC](https://discuss.elastic.co/t/remove-cluster-setting/137781/1 "2018-06-28T11:51:16Z")

</div>

Hi All,

I have a setting archived.indices.store.throttle.type which is not recognized anymore in 6.2.4 but I cannot seem to remove it..

I have tried:

```
curl -H "Content-Type: application/json" -XPUT 'http://xxxxx:9200/_cluster/settings' -d '{
  "transient" : { "archived.indices.store.throttle.type": "" }
}'

```

The error I get is:

```
{
	"error": {
		"root_cause": [{
			"type": "illegal_argument_exception",
			"reason": "transient setting [archived.indices.store.throttle.type], not recognized"
		}],
		"type": "illegal_argument_exception",
		"reason": "transient setting [archived.indices.store.throttle.type], not recognized"
	},
	"status": 400
}

```

The \_cluster/settings shows me the following:

```
{
  "persistent" : {
    "archived" : {
      "indices" : {
        "store" : {
          "throttle" : {
            "max_bytes_per_sec" : "200mb"
          }
        }
      }
    },
    "indices" : {
      "recovery" : {
        "max_bytes_per_sec" : "500mb"
      }
    }
  },
  "transient" : {
    "archived" : {
      "indices" : {
        "store" : {
          "throttle" : {
            "type" : "merge"
          }
        }
      }
    },
    "cluster" : {
      "routing" : {
        "allocation" : {
          "enable" : "all"
        }
      }
    }
  }
}

```

I am a bit stuck here as it would seem...

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [June 29, 2018, 2:24pm UTC](https://discuss.elastic.co/t/remove-cluster-setting/137781/2 "2018-06-29T14:24:54Z")

</div>

try setting the setting to `null`

---

<div class="post-metadata">

**Author:** ![pjanzen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pjanzen/32/13756_2.png) [@pjanzen](https://discuss.elastic.co/u/pjanzen)\
**Post date:** [June 29, 2018, 2:50pm UTC](https://discuss.elastic.co/t/remove-cluster-setting/137781/3 "2018-06-29T14:50:36Z")

</div>

I tried the following commands:

1. curl -H "Content-Type: application/json" -XPUT '[http://xxxx:9200/\_cluster/settings](http://xxxx:9200/_cluster/settings)' -d '{ "persistent" : { "archived.indices.store.throttle.max\_bytes\_per\_sec":"" }}'
2. curl -H "Content-Type: application/json" -XPUT 'http:/xxxx:9200/\_cluster/settings' -d '{ "persistent" : { "archived.indices.store.throttle.max\_bytes\_per\_sec":null }}'

In both cases I get:

```
{
	"error": {
		"root_cause": [{
			"type": "illegal_argument_exception",
			"reason": "unknown setting [archived.indices.store.throttle.type] please check that any required plugins are installed, or check the breaking changes documentation for removed settings"
		}],
		"type": "illegal_argument_exception",
		"reason": "unknown setting [archived.indices.store.throttle.type] please check that any required plugins are installed, or check the breaking changes documentation for removed settings"
	},
	"status": 400
}

```

I must be able to unset a setting I would guess...

As it is a persistent setting you would guess it is set in my elasticsearch.yml file but that is not the case either.

```
cluster.name: reporting
node.name: xxxxxx
path.data: /opt/elasticdb/data
path.logs: /var/log/elasticsearch
bootstrap.memory_lock: true
network.host: ['1.2.3.4', '127.0.0.1']
discovery.zen.ping.unicast.hosts: ["some hosts, just assume its correct."]
discovery.zen.minimum_master_nodes: 2
gateway.recover_after_time: 2m
http.cors.enabled: true
http.cors.allow-origin: "/.*/"
# x-pack
xpack.security.enabled: false
xpack.monitoring.collection.indices: obiee_nlmail,obiee_ukmail
xpack.monitoring.collection.enabled: true
```

---

<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:** [July 27, 2018, 2:54pm UTC](https://discuss.elastic.co/t/remove-cluster-setting/137781/4 "2018-07-27T14:54:41Z")

</div>

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