# How could I reset the cluster configuration value

**URL:** <https://discuss.elastic.co/t/how-could-i-reset-the-cluster-configuration-value/19161>\
**Category:** Elasticsearch\
**Created:** [August 8, 2014, 11:31am UTC](https://discuss.elastic.co/t/how-could-i-reset-the-cluster-configuration-value/19161 "2014-08-08T11:31:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pavel\_P](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pavel_p/32/1092_2.png) [@Pavel\_P](https://discuss.elastic.co/u/Pavel_P)\
**Post date:** [August 8, 2014, 11:31am UTC](https://discuss.elastic.co/t/how-could-i-reset-the-cluster-configuration-value/19161/1 "2014-08-08T11:31:20Z")

</div>

Hi,

Once I've set the configuration value from default to some custom, like  
this way:

curl -XPUT [http://localhost:9200/\_cluster/settings](http://localhost:9200/_cluster/settings) -d '

> {  
> "transient": {  
> "indices.fielddata.breaker.limit": "40%"  
> }  
> }  
> '

So I have this:

[https://lh6.googleusercontent.com/-y3QaJEqbbOE/U-Sy9-MGw0I/AAAAAAAAAIs/wLbg4lSRymQ/s1600/Screen%2BShot%2B2014-08-08%2Bat%2B2.22.13%2BPM.png](https://lh6.googleusercontent.com/-y3QaJEqbbOE/U-Sy9-MGw0I/AAAAAAAAAIs/wLbg4lSRymQ/s1600/Screen%2BShot%2B2014-08-08%2Bat%2B2.22.13%2BPM.png)

How then could I reset it back to default?

Tries this:  
curl -XDELETE [http://morbius.kreditech.com:9200/\_cluster/settings](http://morbius.kreditech.com:9200/_cluster/settings) -d '  
{  
"persistent" : {  
"indices.fielddata.breaker.limit"  
}  
}'

With no luck.

Here it's stated that it's somehow  
fixed [No obvious way to delete persistent cluster admin settings · Issue #3670 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/issues/3670) , but I  
don't see any example.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/4afdd828-64b1-4c60-b10b-8ff0d6cebd04%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/4afdd828-64b1-4c60-b10b-8ff0d6cebd04%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 8, 2014, 11:34am UTC](https://discuss.elastic.co/t/how-could-i-reset-the-cluster-configuration-value/19161/2 "2014-08-08T11:34:20Z")

</div>

It's not fixed, it's been moved to

> <https://github.com/elastic/elasticsearch/issues/6732>
>
> Currently there is no way of seeing all settings that are enforced. For instanc…e, defaults are not available and settings from the \`config/elasticsearch.yml\` are not available.
> 
> Any setting which is different from the default should be returned by these APIs:
> 
> \`\`\`
> GET /{index}/\_settings
> GET /\_cluster/settings
> \`\`\`
> 
> Both should also support the \`include\_defaults\` query string parameter, which would return all settings, including the defaults.
> 
> Also, deleting a setting should reset the setting to the default.
> 
> Setting an unknown setting, or a setting that can't be changed should throw an error.
> 
> Relates to #5018, #3670, #2738, #2730, #3572, #2628, #3671, #5019, #6309

Regards,  
Mark Walkom

Infrastructure Engineer  
Campaign Monitor  
email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
web: [www.campaignmonitor.com](http://www.campaignmonitor.com)

On 8 August 2014 21:31, Pavel P [pavel@kredito.de](mailto:pavel@kredito.de) wrote:

> Hi,
> 
> Once I've set the configuration value from default to some custom, like  
> this way:
> 
> curl -XPUT [http://localhost:9200/\_cluster/settings](http://localhost:9200/_cluster/settings) -d '
> 
> > {  
> > "transient": {  
> > "indices.fielddata.breaker.limit": "40%"  
> > }  
> > }  
> > '
> 
> So I have this:
> 
> [https://lh6.googleusercontent.com/-y3QaJEqbbOE/U-Sy9-MGw0I/AAAAAAAAAIs/wLbg4lSRymQ/s1600/Screen%2BShot%2B2014-08-08%2Bat%2B2.22.13%2BPM.png](https://lh6.googleusercontent.com/-y3QaJEqbbOE/U-Sy9-MGw0I/AAAAAAAAAIs/wLbg4lSRymQ/s1600/Screen%2BShot%2B2014-08-08%2Bat%2B2.22.13%2BPM.png)
> 
> How then could I reset it back to default?
> 
> Tries this:  
> curl -XDELETE [http://morbius.kreditech.com:9200/\_cluster/settings](http://morbius.kreditech.com:9200/_cluster/settings) -d '  
> {  
> "persistent" : {  
> "indices.fielddata.breaker.limit"  
> }  
> }'
> 
> With no luck.
> 
> Here it's stated that it's somehow fixed  
> [No obvious way to delete persistent cluster admin settings · Issue #3670 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/issues/3670) , but I don't  
> see any example.
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/4afdd828-64b1-4c60-b10b-8ff0d6cebd04%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/4afdd828-64b1-4c60-b10b-8ff0d6cebd04%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/4afdd828-64b1-4c60-b10b-8ff0d6cebd04%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/4afdd828-64b1-4c60-b10b-8ff0d6cebd04%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEM624ZQauycYVcLjma%3DHg2%2BxNY6KkapxW%3DPu9jvG-fdF4fAiA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZQauycYVcLjma%3DHg2%2BxNY6KkapxW%3DPu9jvG-fdF4fAiA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 1:09am UTC](https://discuss.elastic.co/t/how-could-i-reset-the-cluster-configuration-value/19161/3 "2017-07-06T01:09:59Z")

</div>


