GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
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 [-v] [-mhdt exp]

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:
reverse result
exp
match exp in message
exp
match exp in host
exp
match exp in date
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

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)

  • 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.
August 20, 2000 Core-SDI

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.