Reverting Index Logging Settings

I want to add new index settings for all indices to add some additional configs to debug/info/warn and trace.

So like below I have this curl command -

curl -XPUT 'http://localhost:9200/_all/_settings?preserve_existing=true' -d '{​​​​​
"index.indexing.slowlog.threshold.index.debug" : "2s",
"" : "5s",
"index.indexing.slowlog.threshold.index.trace" : "500ms",
"index.indexing.slowlog.threshold.index.warn" : "10s",
"" : "500ms",
"" : "800ms",
"" : "200ms",
"" : "1s",
"" : "2s",
"" : "5s",
"" : "500ms",
"" : "10s"

What I'm looking to do is to figure out how I can revert all these settings across all indices that they were applied too. Will a restart of Elasticsearch wipe these additional settings?

Welcome to our community! :smiley:

You will want to switch the time values you have for null, and that should reset them to the defaults.

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