1.

Solve : Monitoring Log Files with Perl?

Answer»

I am attempting to write a program that takes INPUT from /var/LOG/auth.log and PARSES all of the successful/attempted logins on this server. I have been able to write the logs files that I want to keep to another log (formatted in columns for date time user success/failure and ip). The problem that I am having a hard time figuring out is how I can write just the new logs when I schedule the script with crontabs. I'm fairly new at Perl, but I KNOW there is a WAY to do this.

Any help would be appreciated.

Dan



Discussion

No Comment Found