Get security index settings
Generally available
Get the user-configurable settings for the security internal index (.security
and associated indices).
Only a subset of the index settings — those that are user-configurable—will be shown.
This includes:
index.auto_expand_replicas
index.number_of_replicas
Required authorization
- Cluster privileges:
read_security
Query parameters
-
master_timeout
string Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.
Values are
-1
or0
.
GET
/_security/settings
Console
GET /_security/settings
resp = client.security.get_settings()
const response = await client.security.getSettings();
response = client.security.get_settings
$resp = $client->security()->getSettings();
curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_security/settings"