Index management settingsedit

You can use the following cluster settings to enable or disable index management features.

action.auto_create_index logo cloud
(Dynamic) Automatically create an index if it doesn’t already exist and apply any configured index templates. Defaults to true.
action.destructive_requires_name logo cloud
(Dynamic) When set to true, you must specify the index name to delete an index. It is not possible to delete all indices with _all or use wildcards.
cluster.indices.close.enable logo cloud

(Dynamic) Enables opening of closed indices in Elasticsearch. You might enable this setting temporarily to change the analyzer configuration for an existing index. We strongly recommend leaving this set to false (the default) otherwise.

Closed indices are a data loss risk because they are not included when you make cluster configuration changes, such as scaling to a different capacity, failover, and many other operations. Additionally, closed indices can lead to inaccurate disk space counts.

reindex.remote.whitelist logo cloud
(Static) Specifies the hosts that can be reindexed from remotely. Expects a YAML array of host:port strings. Consists of a comma-delimited list of host:port entries. Defaults to ["\*.io:*", "\*.com:*"].
stack.templates.enabled logo cloud

(Static) If true, enables built-in index and component templates. Elastic Agent uses these templates to create data streams. If false, Elasticsearch disables these index and component templates. Defaults to true.

This setting affects the following built-in index templates:

  • logs-*-*
  • metrics-*-*
  • synthetics-*-*

This setting also affects the following built-in component templates:

  • logs-mappings
  • logs-settings
  • metrics-mappings
  • metrics-settings
  • synthetics-mapping
  • synthetics-settings