<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Hi, <BR>
&nbsp;<BR>
I want to config the following&nbsp;for client-ap to read messages&nbsp;one&nbsp;by one.&nbsp;<BR>
and want to know the following configuration is supported over RHEL ES version 4.<BR>
&nbsp;<BR>
source s_remote { udp(ip(xxx.xxx.xxx.xxx) port(514)); };<BR>destination d_remote { unix-dgram("/tmp/test.pipe"); };<BR>log { source(s_remote); destination(d_remote); };<BR><BR>
&nbsp;<BR>
Additionally, is there any differences of reliability whether to use unix-dgram or to use pipe ?<BR>
&nbsp;<BR>
&nbsp;<BR>
$B"((B<BR>
Under the following configuration, client-ap need to decide boundary of message.<BR>
I want to avoid this.<BR>
&nbsp;<BR>
source s_remote { udp(ip(xxx.xxx.xxx.xxx) port(514)); };<BR>destination d_remote { pipe("/tmp/test.pipe"); };<BR>log { source(s_remote); destination(d_remote); };<BR><BR>
Thanks<BR>
hiro<BR>
&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
&gt; We do this by using the "pipe" destination for syslog-ng and then use a second<BR>&gt; copy of syslog-ng to read from the pipe with a destination of program.<BR>&gt; This requires the program to be able to read data from the standard in.<BR>&gt; <BR>&gt; For the curious, we do this to seperate the filtering and formating of data<BR>&gt; to the program from the base system syslog service (handling messages from /var/log etc)<BR>&gt; so that we can stop/start the program without having to start/stop the system syslog<BR>&gt; service.<BR>&gt; <BR>&gt; Evan.<BR>&gt; <BR>&gt; hi ro wrote:<BR>&gt; &gt; Hi,<BR>&gt; &gt; <BR>&gt; &gt; Can I use "unix-dgram" as a destination config over RedHatLinux(RHEL ES version4 update5).<BR>&gt; &gt; <BR>&gt; &gt; I want to do following.<BR>&gt; &gt; <BR>&gt; &gt; 1. syslog-ng server receive syslog-message.<BR>&gt; &gt; 2. syslog-ng server write the message to a fifo pipe.<BR>&gt; &gt; (I want to config destination using unix-dgram.)<BR>&gt; &gt; 3. client-ap read the message from the fifo pipe.<BR>&gt; &gt; (I think client-ap can read messages one by one using unix-dgram.) <BR>&gt; &gt; <BR>&gt; &gt; Thanks<BR>&gt; &gt; hiro<BR>&gt; &gt; _________________________________________________________________<BR>&gt; &gt; Hotmail$B8BDj!!(BWindows Live x Lost Odyssey$B%W%l%<%s%H%-%c%s%Z!<%s!!(B12$B7n(B21$BF|$^$G(B<BR>&gt; &gt; http://go.windowslive.jp/<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; ------------------------------------------------------------------------<BR>&gt; &gt; <BR>&gt; &gt; _______________________________________________<BR>&gt; &gt; syslog-ng maillist - syslog-ng@lists.balabit.hu<BR>&gt; &gt; https://lists.balabit.hu/mailman/listinfo/syslog-ng<BR>&gt; &gt; Frequently asked questions at http://www.campin.net/syslog-ng/faq.html<BR>&gt; &gt; <BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; syslog-ng maillist - syslog-ng@lists.balabit.hu<BR>&gt; https://lists.balabit.hu/mailman/listinfo/syslog-ng<BR>&gt; Frequently asked questions at http://www.campin.net/syslog-ng/faq.html<BR>&gt; <BR><BR><br /><hr />$B!V(BMSN $B%/%j%9%^%9FC=8!W:#G/$O!":G9b$N0&$"$U$l$k%/%j%9%^%9$K$7$^$;$s$+!#(B <a href='http://clk.atdmt.com/GBL/go/msnjpqjl0040000017gbl/direct/01/' target='_new'>http://event.jp.msn.com/xmas2007/</a></body>
</html>