Elasticsearch: HOW TO delete a parameter (cluster)

my current gloss configuration settings are as follows:

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

and I’m wondering how I can remove part of the max_bytes_per_sec settings.

Could you advise this?

+5
source share
4 answers

well. I found how to remove the permanent configuration: you go to a specific data path of the node wizard, more specifically nodes/0/_state (in my case) and you delete the global state file. then restart elasticsearch.

+4
source

Here is an example from ES documentation:

PUT / _cluster / settings {"persistent": {"indices.store.throttle.max_bytes_per_sec": "100mb"}}

and

PUT / _cluster / settings {"transient": {"indices.store.throttle.type": "none"}}

+1
source

According to the documentation available now (Elasticsearch 5.5), you can perform the following actions:

Resetting permanent or temporary settings can be done by setting a value of zero.

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

+1
source
 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 } } 
+1
source

Source: https://habr.com/ru/post/1235186/


All Articles