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