On Mon, Aug 2, 2010 at 12:16 PM, Rainer Gerhards <[email protected]> wrote: >> -----Original Message----- >> From: [email protected] [mailto:rsyslog- >> [email protected]] On Behalf Of Joel Merrick >> Sent: Monday, August 02, 2010 1:14 PM >> To: [email protected] >> Subject: Re: [rsyslog] Problem with mysql template >> >> Do I take it from the lack of replies that this should work? :) > > simply overlooked from my side ;) >
No worries, I know you're very busy! > Two ways to proceed: > > a) write to a file with the same template > then you can check if the sql is like you intended it to be > The rest of the SQL is correct, it's when I add the part that adds the last 2 alphanumeric characters to the table name when it breaks.. > b) run rsyslog in debug mode (doc available in doc set and on site) > Will do, cheers for the tips. > It may also be worth trying out the regex checker on the rsyslog site. Yes, used this extensively and I'm getting the matches correct. > > Rainer > _______________________________________________ > rsyslog mailing list > http://lists.adiscon.net/mailman/listinfo/rsyslog > http://www.rsyslog.com > -- $ echo "kpfmAdpoofdufevq/dp/vl" | perl -pe 's/(.)/chr(ord($1)-1)/ge' _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com

