Folder Reader Issue
In our environment, we have requirement to read multiple files from different folders in one server and each folders having two type of log files (which are in .log format and .gz format). The realtime log is writing to “.log” file and every one hour the” .log file” is compressed to “.gz “ format where the “.log” file persist in same format (without change in name of file [“eg:- sample.log”] but the size will be reduced to zero by empting the content to compression and the compressed file is created as “sample.2015-04-16_22.gz”)
For the above scenario, I have tried below parameters on agent.propertise but it’s not collecting log from the file.
and tried the alternaterotationdetect=true
Did u see any File accessed message or any errors on the log file. Is the log file is having read permission, sometimes it will be locked the application which is updating the log followed by log rotation and compression.