I just config path.logs in elasticsearch.yml, the path was generated,but the path is empty, I can't find the log file. Why the log file is empty? Below is my config:
First I set /usr/share/elasticsearch/logs, I found the path is exist and empty. Then I changed the config to prove the config is effective, and I found the new path "test" is generated. Below is the path right:
drwxrwxr-x 2 elasticsearch root 4096 Jan 29 10:12 test
I think the Elasticsearch process can write to the path.
Thank you for your respond!
I set /var/log/elasticsearch/ and reinstall, but the elasticsearch pod can not work normally. Its status is error. I think elasticsearch process can not write to this path. By the way, I use docker image to install elasticsearch.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.