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:
Why did you set it to that?
Does the user that runs the Elasticsearch process have write access to it?
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!
Why not just leave it at
OK.I will have a try.
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.
Which docker image?
elasticsearch latest 06f0d8328d66 6 weeks ago 538.9 MB
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.