Permission denied
Description
Gliffy Diagrams
Activity
Show:
Grant Horning April 11, 2014 at 6:53 PM
I have a similar issue. When I use file globbing in the configuration, logstash has a limit on how many files it can handle. Once that limit is exceeded, logstash will report "permission denied" on every file.
Eg.
input {
file {
'path' => "/usr/local/var/*"
}
}
In my testing, the limit is 4087 files. Any more than that and logstash erroneously reports "failed to open ... permission denied" for each file over the limit.
Loïc Juillet October 21, 2013 at 2:50 PM
I tried again by moving the whole directory into /var/log and chmod -R 777 on it, but still doesn't work
Details
Details
Assignee
Logstash Developers
Logstash DevelopersReporter
Loïc Juillet
Loïc JuilletLabels
Affects versions
Created October 21, 2013 at 1:13 PM
Updated February 13, 2015 at 10:28 PM
I set all my log files as this one :
-rwxr-xr-x 1 root adm 414 Jul 2 06:24 access.log
I start Logstash as root user, and all my path are 755 chmod, and i got this error message for all my logs file:
failed to open /root/logs/2013/07/02/05/access.log: Permission denied - /root/logs/2013/07/02/05/access.log {:level=>:warn}
What's wrong ?