Shell bash script required to scan unix logs for keywords


I require a bash script that can be run from a cron to do the following:

1)scan /var/log/messages for a customizable set of keywords. This needs to be a a list that I can easily add to or edit. The scan should only scan the last 12 or max 24 hours of the log file.

2)When found send an email with a list of files/entries that match the keywords.

3)Scan the log file for IP's that are trying to login to multiple accounts. eg same ip but multiple usernames would trigger and email alert.

This will run on a centos 5 machine.

Kemahiran: Linux

Lihat lagi: unix send email keywords log, bash scan file, Unix shell script, scanning bash script, bash keywords, email trigger bash script, hire system administrator write unix script, bash search log file, scan unix script, shell scan file keyword, freelancer bash script, linux script scan logs send results, simple shell script scan logs, unix scripts varlogmessages, shell script scan, shell script scan log script, bash script keyword, script search keyword logs, bash view logfile last hour, bash script lines file scan, linux show message logs last hours script, bash trigger script based email, trigger bash script, search log bash, search log script bash

Tentang Majikan:
( 1 ulasan ) manchester, United Kingdom

ID Projek: #360606

Dianugerahkan kepada:


See my PM for full details.

$30 USD dalam sehari
(1 Ulasan)

2 pekerja bebas membida secara purata $53 untuk pekerjaan ini


I have seven years of experience as a Linux system administrator for an ISP, and in that position have had to deal with log issues such as this. I can write these scripts for you without a problem. A better solut Lagi

$75 USD dalam 2 hari
(0 Ulasan)