summaryrefslogtreecommitdiffstatsabout
path: root/utility/mod_log_sql.conf
diff options
context:
space:
mode:
authorEdward Rudd <urkle@outoforder.cc>2008-10-22 12:40:58 (GMT)
committer Edward Rudd <urkle@outoforder.cc>2008-10-22 12:40:58 (GMT)
commit0ddd719a72469f732a881c93d4c804e9aca787fe (patch)
treee05821ff5a6ad0f00d63f23090ce4f2ec19bef75 /utility/mod_log_sql.conf
parentcc75ebf7e8560a69a6847f0260cce4772fff440a (diff)
added more config options
included PCRE wrapper from httpd more complete log parser code. fixed NASTY bug with setting values in the hash tables (Need to DUP the strings before setting the keys)
Diffstat (limited to 'utility/mod_log_sql.conf')
-rw-r--r--utility/mod_log_sql.conf24
1 files changed, 22 insertions, 2 deletions
diff --git a/utility/mod_log_sql.conf b/utility/mod_log_sql.conf
index 6cfae61..72f0205 100644
--- a/utility/mod_log_sql.conf
+++ b/utility/mod_log_sql.conf
@@ -9,7 +9,7 @@ LogLevel notice
9DryRun on 9DryRun on
10Summary on 10Summary on
11 11
12LogFormatConfig CLF host String 12LogFormatConfig CLF remhost String
13LogFormatConfig CLF ident String 13LogFormatConfig CLF ident String
14LogFormatConfig CLF user String 14LogFormatConfig CLF user String
15LogFormatConfig CLF date Date 15LogFormatConfig CLF date Date
@@ -17,7 +17,7 @@ LogFormatConfig CLF request String
17LogFormatConfig CLF status Number 17LogFormatConfig CLF status Number
18LogFormatConfig CLF bytes_sent Number 18LogFormatConfig CLF bytes_sent Number
19 19
20LogFormatConfig Combined host String 20LogFormatConfig Combined remhost String
21LogFormatConfig Combined ident String 21LogFormatConfig Combined ident String
22LogFormatConfig Combined user String 22LogFormatConfig Combined user String
23LogFormatConfig Combined date Date 23LogFormatConfig Combined date Date
@@ -28,3 +28,23 @@ LogFormatConfig Combined referer String
28LogFormatConfig Combined agent String 28LogFormatConfig Combined agent String
29 29
30LogFormat Combined 30LogFormat Combined
31
32# not yet implemented
33Linefilter - "BAD"
34PreFilter request - "GET \/images"
35PostFilter request_method "GET"
36
37# Usage field datatype(size) source [function [param]...]
38OutputField bytes_sent int bytes_sent
39OutputField request_protocol varchar(10) request regexmatch "(HTTP\/[\d\.]+)$"
40OutputField remote_host varchar(50) remhost
41OutputField request_method varchar(25) request regexmatch "^(\w+)"
42OutputField time_stamp int date totimestamp
43OutputField status smallint status
44OutputField request_uri varchar(255) request regexmatch "^\w+ (.+) \w+\.[\d\.]+$"
45OutputField remote_user varchar(50) user
46OutputField remote_logname varchar(50) ident
47OutputField remote_time char(28) date
48#Only used for Combined log input, if standard CLF input, they are ignored
49OutputField agent varchar(255) agent
50OutputField referer varchar(255) referer