Elasticsearch can't write to log files

后端 未结 11 1672
既然无缘
既然无缘 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

    Your elasticsearch.yml file as well as logging.yml file will be in the /etc/elasticsearch folder.

    Create a config folder in your elasticsearch folder in /usr/share and move the .yml files to the config folder

    Now run /bin/elasticsearch start and it will work.

提交回复
热议问题