# Elasticsearch cluster automatically adds transient settings...How do I remove this?

**URL:** https://discuss.elastic.co/t/elasticsearch-cluster-automatically-adds-transient-settings-how-do-i-remove-this/325353
**Category:** Kibana
**Created:** [February 13, 2023, 6:03am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-automatically-adds-transient-settings-how-do-i-remove-this/325353 "2023-02-13T06:03:57Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![prabhash\_mohanty](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prabhash_mohanty/32/117163_2.png) [@prabhash\_mohanty](https://discuss.elastic.co/u/prabhash_mohanty)
#### Post date: [February 13, 2023, 6:03am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-automatically-adds-transient-settings-how-do-i-remove-this/325353/1 "2023-02-13T06:03:57Z")

</div>

I have 2 nodes in the cluster log-es-default-0 and log-es-default-1.  
log-es-default-0 - master node  
log-es-default-1 - data node

I tried running the below command but it still adds it.

```auto
PUT /_cluster/settings?pretty
{
  "transient" : {
    "cluster" : {
      "routing" : {
        "*":null
      }
    }
  }
}

```

```auto
"transient" : {
    "cluster" : {
      "routing" : {
        "allocation" : {
          "exclude" : {
            "_name" : "log-es-default-1"
          }
        }
      }
    }
  }

```

---

<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: [February 14, 2023, 5:23am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-automatically-adds-transient-settings-how-do-i-remove-this/325353/2 "2023-02-14T05:23:10Z")

</div>

> [@prabhash\_mohanty](#):
>
> I tried running the below command but it still adds it.

Adds what sorry?

---

<div class="post-metadata">

### Author: ![prabhash\_mohanty](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prabhash_mohanty/32/117163_2.png) [@prabhash\_mohanty](https://discuss.elastic.co/u/prabhash_mohanty)
#### Post date: [February 15, 2023, 4:28am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-automatically-adds-transient-settings-how-do-i-remove-this/325353/3 "2023-02-15T04:28:09Z")

</div>

@warkolm  
It adds this transient setting on it's own.  
I even checked if anything is wrong with the log-es-default-1 data node but nothing seems off.

```auto
"transient" : {
    "cluster" : {
      "routing" : {
        "allocation" : {
          "exclude" : {
            "_name" : "log-es-default-1"
          }
        }
      }
    }
  }

```

---

<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: [February 16, 2023, 6:17am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-automatically-adds-transient-settings-how-do-i-remove-this/325353/5 "2023-02-16T06:17:11Z")

</div>

The only way for Elasticsearch to add this is if it's asked to, so what do your logs show?

---

<div class="post-metadata">

### Author: ![prabhash\_mohanty](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prabhash_mohanty/32/117163_2.png) [@prabhash\_mohanty](https://discuss.elastic.co/u/prabhash_mohanty)
#### Post date: [February 16, 2023, 6:27am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-automatically-adds-transient-settings-how-do-i-remove-this/325353/6 "2023-02-16T06:27:29Z")

</div>

I have never modified or accessed the settings of my cluster since we started using elasticsearch .  
These settings started to show up when I increased the data node count when there came up a need to have replica shards.  
Now when I have increased my data node count by one more node the transient settings has changed to this

"transient" : {  
"cluster" : {  
"routing" : {  
"allocation" : {  
"exclude" : {  
"\_name" : "log-es-default-2"  
}  
}  
}  
}  
}

Currently, we have  
1 master node -\> log-es-default-0  
2 data nodes -\> log-es-default-1, log-es-default-2

---

<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: [March 16, 2023, 6:27am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-automatically-adds-transient-settings-how-do-i-remove-this/325353/7 "2023-03-16T06:27:44Z")

</div>

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