Absent Member.
Absent Member.
357 views

Folder Reader Issue

Hi,

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.

agents[0].foldertable[0].preservestate=true

agents[0].foldertable[0].followexternalrotation=true

agents[0].foldertable[0].startatend=true

agents[0].foldertable[0].mode=PersistFile

agents[0].foldertable[0].wildcard=*.log

and tried the alternaterotationdetect=true

Thanks

Renjith

Labels (2)
0 Likes
2 Replies
Fleet Admiral
Fleet Admiral

Hi Renjith,

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.

0 Likes
Ensign
Ensign

Im having a similar issue in that .gz files are not processed but the same unzipped files are using a FolderFollower.  According to the Dev Guide these files should be processed.  Any idea what the issue is?

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.