LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (http://www.linuxquestions.org/questions/linux-security-4/)
-   -   log summary? (http://www.linuxquestions.org/questions/linux-security-4/log-summary-272299/)

ryedunn 12-31-2004 08:59 AM

log summary?
 
How can I get a summary of logs such as this:

61.184.104.236 -j DROP # illegal ssh login attempt 22.9.2004
218.232.104.41 -j DROP # illegal ssh login attempt 22.9.2004
201.10.45.4 -j DROP # illegal ssh login attempt 23.9.2004
218.188.9.51 -j DROP # illegal ssh login attempt 23.9.2004
148.215.14.181 -j DROP # illegal ssh login attempt 24.9.2004
70.240.3.138 -j DROP # illegal ssh login attempt 24.9.2004

Thanks
R

Capt_Caveman 12-31-2004 09:48 AM

You can use something like swatch, logwatch, logsurfer, logrep or you can write a simple script to parse messages in the system logs and output a report in the format you desire.


All times are GMT -5. The time now is 02:08 AM.