DragonFly On-Line Manual Pages

Search: Section:  


OM_REGEXP(8)           DragonFly System Manager's Manual          OM_REGEXP(8)

NAME

msyslog regex output module - syslogd(8) output module used to filter and redirect logs

SYNOPSIS

regex [-v] [-mhdt exp]

DESCRIPTION

regex output module receives a message and checks whether the regular expression exp matches given field of a log. You must select ONE of the following parameters: -v reverse result -m exp match exp in message -h exp match exp in host -d exp match exp in date -t exp match exp in time

EXAMPLES

# PASS ONLY logs with host from 8pm to 9am (20:00:00 to 09:00:00) # and also matching 'root' on logins auth.info %regex -v -t '^1' %regex -m 'root' %classic /var/log/webserver

SEE ALSO

syslog(3), syslog.conf(5), om_classic(8), om_mysql(8), om_peo(8), om_pgsql(8), om_tcp(8), om_udp(8), peochk(8), syslogd(8)

BUGS

* Still can't escape quotes within expression. * Submit bugs at this project's Sourceforge Bug reporting system at: http://sourceforge.net/tracker/?func=add&group_id=25741&atid=385117 You may also report them directly to the authors; send an email to core.devel.alat@corest.com, describing the problem the most you can, containing also machine description, hardware description, the configuration file (/usr/local/etc/syslog.conf), the OS description, and the invoking command line. The more you describe the bug, the faster we can fix it. Core-SDI August 20, 2000 Core-SDI

Search: Section: