summaryrefslogtreecommitdiffstats
path: root/utility/mod_log_sql.conf
diff options
context:
space:
mode:
Diffstat (limited to 'utility/mod_log_sql.conf')
-rw-r--r--utility/mod_log_sql.conf10
1 files changed, 7 insertions, 3 deletions
diff --git a/utility/mod_log_sql.conf b/utility/mod_log_sql.conf
index ee0cb07..fde7cc6 100644
--- a/utility/mod_log_sql.conf
+++ b/utility/mod_log_sql.conf
@@ -29,9 +29,12 @@ LogFormatConfig Combined agent String
29 29
30LogFormat Combined 30LogFormat Combined
31 31
32# not yet implemented
33Linefilter - "BAD" 32Linefilter - "BAD"
34PreFilter request - "GET \/images" 33LineFilter "GOOD"
34LineFilter + "BETTER"
35# the next filter ignores ALL lines
36LineFilter -
37PreFilter request + "Rebuild"
35PostFilter request_method "GET" 38PostFilter request_method "GET"
36 39
37# Usage field datatype(size) default source [function [param]...] 40# Usage field datatype(size) default source [function [param]...]
@@ -41,7 +44,8 @@ OutputField remote_host varchar(50) "" remhost
41OutputField request_method varchar(25) "" request regexmatch "^(\\w+)" 44OutputField request_method varchar(25) "" request regexmatch "^(\\w+)"
42OutputField time_stamp int 0 date totimestamp 45OutputField time_stamp int 0 date totimestamp
43OutputField status smallint 0 status 46OutputField status smallint 0 status
44OutputField request_uri varchar(255) "" request regexmatch "^\\w+ (.+) \\w+/[\\d\\.]+$" 47OutputField request_line varchar(255) "" request
48#OutputField request_uri varchar(255) "" request regexmatch "^\\w+ (.+) \\w+/[\\d\\.]+$"
45OutputField remote_user varchar(50) "" user 49OutputField remote_user varchar(50) "" user
46OutputField remote_logname varchar(50) "" ident 50OutputField remote_logname varchar(50) "" ident
47OutputField request_time char(28) "" date wrap "[" "]" 51OutputField request_time char(28) "" date wrap "[" "]"