I've just recently seen the posts regarding the log parser. I haven't actually looked at it to see how nice it is, but here is something you can do with a single command if you are running a linux server. Very simple and to the point. You can even do what someone wanted; searching logs for only one month.
grep -i secure: <insertlogdirectoryhere>/* This will output all Secure: messages from all of the logs in your log directory. Example: grep -i secure: /mylogdir/* To search for a specific month only: grep -i secure: /mylogdir/L06* This will only search the month of June. Add this to have it email the secure report to someone: grep -i secure: /mylogdir/* |mail -s "Secure report from ServerX" [EMAIL PROTECTED] All of that should be on one line. This is very simple. I guess if I looked at the log parser, I could have given a better comparison. This same line above could easily be set up in a cron job, and in a shell script to use variables for the log directory, and the email address and work genericly for anyone.... Example. You could create this file, make it executable (chmod +rx, and run it in a cron job if all you wanted was an email report every day. #!/bin/sh # Path to log files. No trailing slash. LOGDIR=your log directory here # Address to send the logs to. [EMAIL PROTECTED] # Place a -r in this variable if you want to show newest entries first. # Remove the -r to leave blank if you want oldest items first. SORTOPTION=-r grep -i secure: $LOGDIR/* |sort $SORTOPTION |mail -s "Secure messages from HL logs" $EMAIL Last line should not be word wrapped..... _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux

