|
|
| |
OM_REGEXP(8) |
FreeBSD System Manager's Manual |
OM_REGEXP(8) |
msyslog regex output module —
syslogd(8)
output module used to filter and redirect logs
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
# 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
- 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.
Visit the GSP FreeBSD Man Page Interface. Output converted with ManDoc. |