summaryrefslogtreecommitdiffstats
path: root/test.conf
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2004-11-23 17:10:55 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2004-11-23 17:10:55 +0000
commitfb3b06185460107ac5720b8d2b79114293cbce19 (patch)
treeda441112f7b0d9e67dac96a00bbea0748c705ce7 /test.conf
parentfc45231d62fdb3b75d2466d8b3b8135e17252abe (diff)
downloadrsyslog-fb3b06185460107ac5720b8d2b79114293cbce19.tar.gz
rsyslog-fb3b06185460107ac5720b8d2b79114293cbce19.tar.xz
rsyslog-fb3b06185460107ac5720b8d2b79114293cbce19.zip
everything in place now to support writing to SQL
Diffstat (limited to 'test.conf')
-rw-r--r--test.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.conf b/test.conf
index 82cf2150..1957f53d 100644
--- a/test.conf
+++ b/test.conf
@@ -23,7 +23,7 @@ $template RFC3164fmt,"<%PRI%>%TIMESTAMP% %HOSTNAME% %syslogtag%%msg%"
#$template precise,"%syslogpriority%,%syslogfacility%,%timegenerated::fulltime%,%HOSTNAME%,%syslogtag%,%msg%\n",1024
$template usermsg," %syslogtag%%msg%\n\r"
$template wallmsg,"\r\n\7Message from syslogd@%HOSTNAME% at %timegenerated% ...\r\n %syslogtag%%msg%\n\r"
-$template MySQLInsert,"insert iut, msg values (1, '%msg%') into systemevents", SQL
+$template MySQLInsert,"insert iut, message, receivedat values (1, '%msg:::UPPERCASE%', '%timegenerated:::date-mysql%') into systemevents", SQL
# Selector lines are now modified
# The "action" (e.g. file logging) can be followed