TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:9972] Help with Grep



On Wed, 10 Nov 1999, Jonathan Kline wrote:

> Hello Again:
> 	Basically what I'm trying to do is search through a given file,
> namely /var/log/secure and look for FAILED LOGIN, ROOT LOGIN and refused
> connect.  When the above patterns are found, I want the line containing
> the pattern to be copied to a specified text file.... Does anyone know how
> to do this? IF so is it even possible?
> 	Thanks For the help!

I vote for swatch also. There are other syslogd replacements (search
freshmeat.net for syslogd) that allow actions based on text patterns
you specify. syslog-ng looked pretty good, jive-syslogd looked totally
funny. What motivates some people is way beyond me.

Regards

					- Karl