hekevintran
hekevintran

Reputation: 23722

How do you write a relative path in elasticsearch.yml?

I want to provide a value for path.data that is relative to the installation location of ElasticSearch.

Is it possible to do something like this?

path.data: {ES_DIR}/../../data

Upvotes: 1

Views: 921

Answers (1)

imotov
imotov

Reputation: 30163

Yes, it is possible:

path.data: ${path.home}/../../data

Upvotes: 3

Related Questions