Elasticsearch Persistent



Elasticsearch Persistent

Opster Team

July 2020, Version: 1.7-7.9


In addition to reading this guide, run the free Elasticsearch Health Check-Up. Get actionable recommendations that can improve performance and prevent incidents (does not require any installation). Among the dozens of checks included are: shards sizes, search errors, thread pools, management queue size, circuit breakers and many more. Join over 700 users who use this free tool.

Persistent in Elasticsearch

What it is:

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


Task failed with an exception
Trying to update state on non-existing task
Failed to remove datafeed persistent task will not auto close job
Persistent task
Attempt to complete task with id in the state
Failed to reassign persistent tasks
Trying to update state on task with unexpected allocation id
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
The task wasnt found; status is not updated
Un-assigning persistent tasks :
Ignoring persistent setting ;

< Page: 1 of 2 >




Improve Elasticsearch Performance

Run The Analysis