Cadet 3rd Class Cadet 3rd Class
Cadet 3rd Class
390 views

Log File Policy - Entries exclusion

we have a log file entry policy that reads from the last modified log file in the logs folder , the policy matches the word "Error" in the log file entries and open an event after it found "Error" 5 times, we want to exclude multiple lines from being counted as it causes unneeded events , we found a solution to exclude one line by adding a suppress rule to match on the unwanted line , but when we try to exclude more than one line by adding more than suppress rule or adding the lines in one suppress rule with or condition , the result was random and the policy misbehave , Could anyone advise?

Labels (1)
0 Likes
2 Replies
Micro Focus Expert
Micro Focus Expert

Hello Rana,

Did you try configure the policy to read from the last position instead from the beginning.

 

Regards,

Edward Campos Monge.
Customer Support Engineer




If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.”
0 Likes
Cadet 3rd Class Cadet 3rd Class
Cadet 3rd Class

Hi Edward,

Yes i've tried to make it from last position and it didn't work also , did you tried before to add more than one supress rule and it worked normally?

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.