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

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


Task getPersistentTaskId failed with an exception
Failed to close persistent cache
Failed to commit persistent cache after synchronization
Persistent cache index loaded
Failed to close persistent cache index
Failed to close persistent cache index writer
Failed to remove datafeed persistent task - will not auto close job getJobId
Failed to clean up task persistentTask getId
PersistentTask getParams getJobId Failed to cancel persistent task that could
PersistentTask getParams getDatafeedId Failed to cancel persistent task that could
PersistentTask getParams getId Failed to cancel persistent task that could
DataFrameId Failed to cancel persistent task that could

< Page: 2 of 4 >