In Progress

Shell bash script required to scan unix logs for keywords

Hi,

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.

Skills: Linux

See more: 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

About the Employer:
( 1 review ) manchester, United Kingdom

Project ID: #360606

Awarded to:

raabyau

See my PM for full details.

$30 USD in 1 day
(1 Review)
1.0

2 freelancers are bidding on average $53 for this job

JTBlanchard

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 More

$75 USD in 2 days
(0 Reviews)
0.0