Elasticsearch Persistent

By Opster Team

Updated: Mar 21, 2023

| 1 min read

Before you dig into the details of this technical guide, have you tried asking OpsGPT?

You'll receive concise answers that will help streamline your Elasticsearch/OpenSearch operations.

Try OpsGPT now for step-by-step guidance and tailored insights into your Elasticsearch/ OpenSearch operation.


In Elasticsearch, persistent refers to cluster settings that persist across cluster restarts. This setting is used in Cluster Update API calls. Persistent settings can also be configured in the elasticsearch.yml file.


## enable shard routing
PUT /_cluster/settings
    "persistent" : {
        "cluster.routing.allocation.enable" : "all"
## enable rebalancing of shards
PUT /_cluster/settings
    "persistent" : {
        "cluster.routing.rebalance.enable" : "all"
## limit the heap size for fielddata
PUT /_cluster/settings
    "persistent" : {
                 “indices.breaker.fielddata.limit”: "30%"

How helpful was this guide?

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Related log errors to this ES concept

Trying to update state on non-existing task
Failed to reassign persistent tasks
Persistent task with id and allocation id failed to create
The task with id was found but it has a different allocation id status is not updated
Attempt to complete task with id in the state
Task failed with an exception
Un-assigning persistent tasks
Unable to start allocated task
Fatal error registering persistent task
Notification for task with id failed
Persistent task id failed
The task wasn t found status is not updated

< Page: 1 of 4 >

Get expert answers on Elasticsearch/OpenSearch