Is there an API call that returns what a cluster's configuration path is? (e.g., /usr/local/etc/elasticsearch/
, /etc/elasticsearch
).
You should be able to get it using this :
GET _cluster/settings?include_defaults=true
I do not see it there, although I do see other path-related info:
"path": {
"data": [
"/usr/local/var/elasticsearch/"
],
"logs": "/usr/local/var/log/elasticsearch",
"shared_data": "",
"home": "/usr/local/Cellar/elasticsearch/6.2.2/libexec",
"repo": []
}
Sorry I thought you were after the data path, for path.conf/ES_PATH_CONF :
GET _nodes should return the path in nodes.nodeid.jvm.inputArguments
"-Des.path.conf=/usr/share/elasticsearch/config"
Indeed it does! Thank you!
"input_arguments": [
...,
"-Des.path.conf=/usr/local/etc/elasticsearch"
]
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.