customize-data-log-path.asciidoc 392 B

12345678910111213141516171819202122
  1. // tag::unix[]
  2. Linux and macOS installations support Unix-style paths:
  3. [source,yaml]
  4. ----
  5. path:
  6. data: /var/data/elasticsearch
  7. logs: /var/log/elasticsearch
  8. ----
  9. // end::unix[]
  10. // tag::win[]
  11. Windows installations support DOS paths with escaped backslashes:
  12. [source,yaml]
  13. ----
  14. path:
  15. data: "C:\\Elastic\\Elasticsearch\\data"
  16. logs: "C:\\Elastic\\Elasticsearch\\logs"
  17. ----
  18. // end::win[]