[syslog-ng] Receives multiple messages in one packet

Balazs Scheidler bazsi at balabit.hu
Wed Feb 1 17:18:51 CET 2012


On Thu, 2012-02-02 at 00:58 +0900, 大町 靖 wrote:
> Hi experts,
> 
> I want to receive multiple messages in one packet by using syslog-ng OSE.
> 
> I checked the result after getting two messages in one packet.
> (The message format is that <PRI> Message1 \r\n<PRI> Message2\rn .)
> 
> Message1
> <PRI> Message2
> 
> I guess that syslog-ng recognize the first <PRI> as <PRI> ,though not recognise the second <PRI>. It recognized the second <PRI> message.
> 
> If I want to fix this issue, what should I do.
> 
> Please let me know.

Is this UDP or TCP traffic?

If you are using udp, then each datagram is a single message.

-- 
Bazsi




More information about the syslog-ng mailing list