misc.asciidoc 955 B

123456789101112131415161718192021222324252627282930313233343536
  1. [[misc-cluster]]
  2. === Miscellaneous cluster settings
  3. [[cluster-read-only]]
  4. ==== Metadata
  5. An entire cluster may be set to read-only with the following _dynamic_ setting:
  6. `cluster.blocks.read_only`::
  7. Make the whole cluster read only (indices do not accept write
  8. operations), metadata is not allowed to be modified (create or delete
  9. indices).
  10. WARNING: Don't rely on this setting to prevent changes to your cluster. Any
  11. user with access to the <<cluster-update-settings,cluster-update-settings>>
  12. API can make the cluster read-write again.
  13. [[cluster-logger]]
  14. ==== Logger
  15. The settings which control logging can be updated dynamically with the
  16. `logger.` prefix. For instance, to increase the logging level of the
  17. `indices.recovery` module to `DEBUG`, issue this request:
  18. [source,js]
  19. -------------------------------
  20. PUT /_cluster/settings
  21. {
  22. "transient": {
  23. "logger.indices.recovery": "DEBUG"
  24. }
  25. }
  26. -------------------------------