Elasticsearch Persistent

By Opster Team

Updated: Jan 28, 2024

| 1 min read

Overview

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.

Examples

## 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%"
    }
}

Related log errors to this ES concept


Cannot reassign task with id taskId the task no longer exists
Cannot update task with id taskId the task no longer exists
Cannot remove task with id taskId the task no longer exists
Found data frame transform persistent task id with incorrect params
Found transform persistent task id with incorrect params

< Page: 4 of 4 >

Opster
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.