index_management.asciidoc 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. [[index-management-settings]]
  2. === Index management settings
  3. You can use the following cluster settings to enable or disable index management
  4. features.
  5. [[auto-create-index]]
  6. // tag::auto-create-index-tag[]
  7. `action.auto_create_index` {ess-icon}::
  8. (<<dynamic-cluster-setting,Dynamic>>)
  9. <<index-creation,Automatically create an index>> if it doesn't already exist and apply any configured index templates. Defaults to `true`.
  10. // end::auto-create-index-tag[]
  11. [[action-destructive-requires-name]]
  12. // tag::action-destructive-requires-name-tag[]
  13. `action.destructive_requires_name` {ess-icon}::
  14. (<<dynamic-cluster-setting,Dynamic>>)
  15. When set to `true`, you must specify the index name to <<indices-delete-index,delete an index>>. It is not possible to delete all indices with `_all` or use wildcards.
  16. // end::action-destructive-requires-name-tag[]
  17. [[cluster-indices-close-enable]]
  18. // tag::cluster-indices-close-enable-tag[]
  19. `cluster.indices.close.enable` {ess-icon}::
  20. (<<dynamic-cluster-setting,Dynamic>>)
  21. Enables <<indices-close,closing of open indices>> in {es}. If `false`, you
  22. cannot close open indices. Defaults to `true`.
  23. +
  24. NOTE: Closed indices still consume a significant amount of disk space.
  25. [[reindex-remote-whitelist]]
  26. // tag::reindex-remote-whitelist[]
  27. `reindex.remote.whitelist` {ess-icon}::
  28. (<<static-cluster-setting,Static>>)
  29. Specifies the hosts that can be <<reindex-from-remote,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:*"]`.
  30. // end::reindex-remote-whitelist[]
  31. [[stack-templates-enabled]]
  32. `stack.templates.enabled`::
  33. +
  34. --
  35. (<<dynamic-cluster-setting,Dynamic>>)
  36. If `true`, enables built-in index and component templates.
  37. {fleet-guide}/fleet-overview.html[{agent}] uses these templates to create data
  38. streams. If `false`, {es} disables these index and component templates. Defaults
  39. to `true`.
  40. This setting affects the following built-in index templates:
  41. include::{es-repo-dir}/indices/index-templates.asciidoc[tag=built-in-index-template-patterns]
  42. This setting also affects the following built-in component templates:
  43. include::{es-repo-dir}/indices/put-component-template.asciidoc[tag=built-in-component-templates]
  44. --