Logcheck


Testing expressions

echo "Jan  7 18:02:23 firewall sSMTP[13962]: Sent mail for logcheck@firewall.example.com (221 firewall.example.com closing connection) uid=102 username=logcheck outbytes=780"| egrep -i --color "^\w{3} [ :0-9]{11} firewall sSMTP\[[0-9]+\]: Sent mail for logcheck@firewall.example.com .*$"

regular expressions rexp -

Most people use perl compatable regexpressions (pcregex) - be aware there are differences Also see visual-regexp package.
Top Page wiki Index

Disclaimer

This information may have errors; It is not permissible to be read by anyone who has ever met a lawyer.
Use is confined to Engineers with more than 370 course hours of electronic engineering for theoretical studies.
ph +1(785) 841-3089

Email inform@xtronics.com

(C) Copyright 1994-2017, Transtronics, Inc. All rights reserved
TranstronicsĀ® is a registered trademark of Transtronics, Inc.
All trademarks are the property of their respective owners.