Thank you for your reply。
The logging directory ,/home/installer/test/logs/ was root:root , so I chown'd both to chown -R logstash:logstash .
But problems remain。
Thank you very much.I solved the problem by your method.
But I don't understand,I had set the file as all users can be read.
[installer@test test]
drwxr-xr-x. 8 installer installer 4096 Sep 19 21:53 logs
Why must 'chown -R logstash:logstash /home/test/' be executed before the file can be read?
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.