[syslog-ng]AIX 4.3.3 and pipe problem?
Michael Earls
Michael.Earls@chmcc.org
Thu, 25 Apr 2002 08:54:40 -0400
i am not sure how to do that, can u explain how
michael
-----Original Message-----
From: bazsi@balabit.hu
Sent: Thursday, April 25, 2002 5:04 AM
To: <syslog-ng@lists.balabit.hu>
Cc: <AGehring@bis.adp.com>
Subject: Re: [syslog-ng]AIX 4.3.3 and pipe problem?
On Wed, Apr 24, 2002 at 09:07:07AM 0400, Michael Earls wrote:
> i am running the pkg from debian /testing, 1.5.15. and i am trying to
> run this command. i created my fifo pipe and i am not seeing anything
> being posted there.
>
> what am i doing wrong?
>
> destination d_mysql {
> pipe("/tmp/mysql.pipe"
> template("INSERT INTO logs (host, facility, priority,
level, tag,
> date,
> time, program, msg) VALUES ('$HOST',
> '$FACILILITY','$PRIORITY',$LEVEL','$TAG','$YEAR $MONTH
$DAY','$HOUR:$MIN:$SEC','$PROGRAM','$MSG');\n")
> template escpae(yes));
> };
> log { source(net); destination(d_mysql);
> };
Can you strace the process as it receives a single message?
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C
8EB1
_______________________________________________
syslog ng maillist syslog ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog ng