OpenSearch/docs/reference/tab-widgets/customize-data-log-path.asc...

22 lines
392 B
Plaintext

// tag::unix[]
Linux and macOS installations support Unix-style paths:
[source,yaml]
----
path:
data: /var/data/elasticsearch
logs: /var/log/elasticsearch
----
// end::unix[]
// tag::win[]
Windows installations support DOS paths with escaped backslashes:
[source,yaml]
----
path:
data: "C:\\Elastic\\Elasticsearch\\data"
logs: "C:\\Elastic\\Elasticsearch\\logs"
----
// end::win[]