settings.asciidoc 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. [float]
  2. [[breaking_70_settings_changes]]
  3. === Settings changes
  4. [float]
  5. ==== The default for `node.name` is now the hostname
  6. `node.name` now defaults to the hostname at the time when Elasticsearch
  7. is started. Previously the default node name was the first eight characters
  8. of the node id. It can still be configured explicitly in `elasticsearch.yml`.
  9. [float]
  10. ==== Percolator
  11. * The deprecated `index.percolator.map_unmapped_fields_as_string` setting has been removed in favour of
  12. the `index.percolator.map_unmapped_fields_as_text` setting.
  13. [float]
  14. ==== Index thread pool
  15. * Internally, single-document index/delete/update requests are executed as bulk
  16. requests with a single-document payload. This means that these requests are
  17. executed on the bulk thread pool. As such, the indexing thread pool is no
  18. longer needed and has been removed. As such, the settings
  19. `thread_pool.index.size` and `thread_pool.index.queue_size` have been removed.
  20. [float]
  21. [[write-thread-pool-fallback]]
  22. ==== Write thread pool fallback
  23. * The bulk thread pool was replaced by the write thread pool in 6.3.0. However,
  24. for backwards compatibility reasons the name `bulk` was still usable as fallback
  25. settings `thread_pool.bulk.size` and `thread_pool.bulk.queue_size` for
  26. `thread_pool.write.size` and `thread_pool.write.queue_size`, respectively, and
  27. the system property `es.thread_pool.write.use_bulk_as_display_name` was
  28. available to keep the display output in APIs as `bulk` instead of `write`.
  29. These fallback settings and this system property have been removed.
  30. [float]
  31. [[remove-http-enabled]]
  32. ==== Http enabled setting removed
  33. * The setting `http.enabled` previously allowed disabling binding to HTTP, only allowing
  34. use of the transport client. This setting has been removed, as the transport client
  35. will be removed in the future, thus requiring HTTP to always be enabled.
  36. [float]
  37. [[remove-http-pipelining-setting]]
  38. ==== Http pipelining setting removed
  39. * The setting `http.pipelining` previously allowed disabling HTTP pipelining support.
  40. This setting has been removed, as disabling http pipelining support on the server
  41. provided little value. The setting `http.pipelining.max_events` can still be used to
  42. limit the number of pipelined requests in-flight.
  43. [float]
  44. ==== Cross-cluster search settings renamed
  45. The cross-cluster search remote cluster connection infrastructure is also used
  46. in cross-cluster replication. This means that the setting names
  47. `search.remote.*` used for configuring cross-cluster search belie the fact that
  48. they also apply to other situations where a connection to a remote cluster as
  49. used. Therefore, these settings have been renamed from `search.remote.*` to
  50. `cluster.remote.*`. For backwards compatibility purposes, we will fallback to
  51. `search.remote.*` if `cluster.remote.*` is not set. For any such settings stored
  52. in the cluster state, or set on dynamic settings updates, we will automatically
  53. upgrade the setting from `search.remote.*` to `cluster.remote.*`. The fallback
  54. settings will be removed in 8.0.0.
  55. [float]
  56. [[audit-logfile-local-node-info]]
  57. ==== Audit logfile local node info
  58. The following settings have been removed:
  59. - `xpack.security.audit.logfile.prefix.emit_node_host_address`, instead use
  60. `xpack.security.audit.logfile.emit_node_host_address`
  61. - `xpack.security.audit.logfile.prefix.emit_node_host_name`, instead use
  62. `xpack.security.audit.logfile.emit_node_host_name`
  63. - `xpack.security.audit.logfile.prefix.emit_node_name`, instead use
  64. `xpack.security.audit.logfile.emit_node_name`
  65. The new settings have the same meaning as the removed ones, but the `prefix`
  66. name component is no longer meaningful as logfile audit entries are structured
  67. JSON documents and are not prefixed by anything.
  68. Moreover, `xpack.security.audit.logfile.emit_node_name` has changed its default
  69. from `true` to `false`. All other settings mentioned before, have kept their
  70. default value of `false`.
  71. [float]
  72. [[include-realm-type-in-setting]]
  73. ==== Security realms settings
  74. The settings for all security realms must now include the realm type as part
  75. of the setting name, and the explicit `type` setting has been removed.
  76. A realm that was previous configured as:
  77. [source,yaml]
  78. --------------------------------------------------
  79. xpack.security.authc.realms:
  80. ldap1:
  81. type: ldap
  82. order: 1
  83. url: "ldaps://ldap.example.com/"
  84. --------------------------------------------------
  85. Must be migrated to:
  86. [source,yaml]
  87. --------------------------------------------------
  88. xpack.security.authc.realms:
  89. ldap.ldap1:
  90. order: 1
  91. url: "ldaps://ldap.example.com/"
  92. --------------------------------------------------
  93. Any realm specific secure settings that have been stored in the elasticsearch
  94. keystore (such as ldap bind passwords, or passwords for ssl keys) must be updated
  95. in a similar way.