Subversion Repositories configs

Rev

Rev 5 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4 - 1
# Generic configuration items (to be used as interpolations) in other
2
# filters  or actions configurations
3
#
4
 
5
[INCLUDES]
6
 
7
# Load customizations if any available
8
after = common.local
9
 
10
 
11
[DEFAULT]
12
 
13
# Daemon definition is to be specialized (if needed) in .conf file
14
_daemon = \S*
15
 
16
#
17
# Shortcuts for easier comprehension of the failregex
18
#
19
# PID.
20
# EXAMPLES: [123]
21
__pid_re = (?:\[\d+\])
22
 
23
# Daemon name (with optional source_file:line or whatever)
24
# EXAMPLES: pam_rhosts_auth, [sshd], pop(pam_unix)
25
__daemon_re = [\[\(]?%(_daemon)s(?:\(\S+\))?[\]\)]?:?
26
 
27
# extra daemon info
28
# EXAMPLE: [ID 800047 auth.info]
29
__daemon_extra_re = (?:\[ID \d+ \S+\])
30
 
31
# Combinations of daemon name and PID
32
# EXAMPLES: sshd[31607], pop(pam_unix)[4920]
33
__daemon_combs_re = (?:%(__pid_re)s?:\s+%(__daemon_re)s|%(__daemon_re)s%(__pid_re)s?:?)
34
 
35
# Some messages have a kernel prefix with a timestamp
36
# EXAMPLES: kernel: [769570.846956]
5 - 37
__kernel_prefix = kernel: \[ *\d+\.\d+\]
4 - 38
 
39
__hostname = \S+
40
 
41
# A MD5 hex
42
# EXAMPLES: 07:06:27:55:b0:e3:0c:3c:5a:28:2d:7c:7e:4c:77:5f
43
__md5hex = (?:[\da-f]{2}:){15}[\da-f]{2}
44
 
45
# bsdverbose is where syslogd is started with -v or -vv and results in <4.3> or
46
# <auth.info> appearing before the host as per testcases/files/logs/bsd/*.
47
__bsd_syslog_verbose = (<[^.]+\.[^.]+>)
48
 
49
# Common line prefixes (beginnings) which could be used in filters
50
#
51
#      [bsdverbose]? [hostname] [vserver tag] daemon_id spaces
52
#
53
# This can be optional (for instance if we match named native log files)
54
__prefix_line = \s*%(__bsd_syslog_verbose)s?\s*(?:%(__hostname)s )?(?:%(__kernel_prefix)s )?(?:@vserver_\S+ )?%(__daemon_combs_re)s?\s%(__daemon_extra_re)s?\s*
55
 
34 - 56
# PAM authentication mechanism check for failures, e.g.: pam_unix, pam_sss,
57
# pam_ldap
58
__pam_auth = pam_unix
59
 
4 - 60
# Author: Yaroslav Halchenko