diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2004-11-23 17:10:55 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2004-11-23 17:10:55 +0000 |
commit | fb3b06185460107ac5720b8d2b79114293cbce19 (patch) | |
tree | da441112f7b0d9e67dac96a00bbea0748c705ce7 /test.conf | |
parent | fc45231d62fdb3b75d2466d8b3b8135e17252abe (diff) | |
download | rsyslog-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.conf | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |