Hi everybody,
I'm currently encountering the error that Logstash is not able to open several files due to a "Permission denied" error
[2017-08-24T08:25:43,619][WARN ][logstash.inputs.file ] failed to open /media/Logs/000000760400001.txt: Permission denied - /media/Logs/000000760400001.txt
The files have the following access rights:
-rwxr-xr-x 1 elk elk 1348 Aug 17 09:02 000000760400001.txt
I'm running Logstash as the user elk (who is a member of the adm group) so the privileges should be sufficient. I also ran Logstash as a superuser with the same result. I'm running Logstash by executing elk@ELK:~$ /media/ELKstack/logstash-5.5.1/bin/logstash as I downloaded the zip files instead of installing from DEB.
Has anybody an idea of the cause of this error? Interestingly, this does not apply to all files as some are processed.
Best regards,
Hisushi