I could give you the syntax for a shell script or perl. Would this be of any help?
Regards, Christian Schneider Enterprise Service Specialist 4-tune GmbH Sägereistrasse 29 CH-8152 Glattbrugg Tel +41 71 930 07 00 Fax +41 71 930 07 01 Mob +41 79 418 45 42 Mail [email protected] Am 12.02.2009 um 21:35 schrieb "Robinson, Peter A." <[email protected] >: > User Group, > > I am trying to determine if it is possible to have multiple search > criteria met before a match is determined. Here is a cmd line > filter example: > > grep ABC | grep DEF | grep GHIJKL if all three exist in a line > within a log file generate a trap. > > There is interest in setting up a log watcher to only generate a > trap when an entry matches 3 different criteria as shown above. Is > this possible? > > Thank you, > > Peter Robinson > > > > > --To unsubscribe from spectrum, send email to [email protected] with > the body: unsubscribe spectrum [email protected] > The information in this message may be proprietary and/or > confidential, and protected from disclosure. If the reader of this > message is not the intended recipient, or an employee or agent > responsible for delivering this message to the intended recipient, > you are hereby notified that any dissemination, distribution or > copying of this communication is strictly prohibited. If you have > received this communication in error, please notify First Data > immediately by replying to this message and deleting it from your > computer. > > > --To unsubscribe from spectrum, send email to [email protected] with > the body: unsubscribe spectrum [email protected] --- To unsubscribe from spectrum, send email to [email protected] with the body: unsubscribe spectrum [email protected]
