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

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.

PUT /_cluster/settings?pretty
{
  "transient" : {
    "cluster" : {
      "routing" : {
        "*":null
      }
    }
  }
}
"transient" : {
    "cluster" : {
      "routing" : {
        "allocation" : {
          "exclude" : {
            "_name" : "log-es-default-1"
          }
        }
      }
    }
  }

Adds what sorry?

@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.

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

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

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

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