Elasticsearch can't write to log files

后端 未结 11 1651
既然无缘
既然无缘 2021-02-01 02:00

I would like to activate logs of elasticsearch .

When I run elasticsearch binaries, I realize that I have problems with logging : the configuration cannot be loaded !

11条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-01 02:28

    You can do symlinks, but if you simply want to point elasticsearch to the desired config directory, you can use the following:

    /usr/share/elasticsearch/bin/elasticsearch --default.path.conf=/etc/elasticsearch/

提交回复
热议问题