Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Elasticsearch: HOW-TO delete a (cluster) setting

my current luster configuration settings look like this :

{
  "persistent": {
    "indices": {
      "store": {
        "throttle": {
          "type": "none",
          "max_bytes_per_sec": "150mb"
        }
      }
    }
  },
  "transient": {}
}

and am wondering how can i delete the "max_bytes_per_sec" part of the settings.

could you please advise on this one ?

like image 694
nskalis Avatar asked Nov 04 '15 11:11

nskalis


1 Answers

Resetting persistent or transient settings can be done by assigning a null value.

Refer: https://www.elastic.co/guide/en/elasticsearch/reference/5.5/cluster-update-settings.html

in your case it would be

PUT /_cluster/settings
{
    "persistent" : {
        "indices.store.throttle.max_bytes_per_sec" : null
    }
}
like image 50
T D Avatar answered Nov 15 '22 17:11

T D