by cybex_77 on Mon Dec 17, 2007 1:17 pm
This is the latest which is not writing to the file but I think the debug is saying that it is working.
$ModLoad MySQL
$template logs,"insert into logs_incoming(facility, priority, date, time, host, message, seq) values (%syslogfacility%, %syslogpr
iority%, '%timereported:::date-mysql%', '%timereported:::date-mysql%', '%HOSTNAME%', '%msg%', '%syslogtag%')", SQL
*.* |/var/log/test/mysqllog;logs
Successful select, descriptor count = 1, Activity on: 6
-1208121664: Host name for your address (x.x.x.x) unknown
-1208121664: Message from inetd socket: #6, host: x.x.x.x
-1208121664: Message length: 182, File descriptor: 6.
-1208121664: logmsg: local4.info<166>, flags 2, from 'x.x.x.x', msg Dec 17 2007 12:00:57: %ASA-6-302015: Built outbound UDP connection 7806897 for outside:x.x.x.x/xxx (x.x.x.x/xxx) to inside:x.x.x.x/44935 (x.x.x.x/xxx)
-1208121664: Message has legacy syslog format.
-1208121664: EnqueueMsg signaled condition (0)
-1208121664: nfds == 0, aborting
-1208124528: -1208121664: Listening on UDP syslogd socket 5 (IPv6/port 514).
-1208121664: Lone worker is running...
Listening on UDP syslogd socket 6 (IPv4/port 514).
-1208121664: ----------------------------------------
-1208121664: Calling select, active file descriptors (max 6): 3 5 6
-1208124528: Called fprintlog, logging to builtin-file (/var/log/test/mysqllog)
-1208124528: singleWorker: queue EMPTY, waiting for next message.
-1208121664:
The pipe file is blank.