Instead of syslog("graylog.lab.xxx.xxx" port(5514)); try:

network("graylog.lab.xxx.xxx" port(5514));

This used to be udp() or tcp() depending on the transport you wanted.

Newer versions of syslog-ng documentation have emphasized IETF/RFC5424 
examples, but what you are looking for is the older BSD/RFC3164 formatted 
message.


> On Jan 18, 2017, at 12:30 PM, Li Li <[email protected]> wrote:
> 
> syslog("graylog.lab.xxx.xxx" port(5514));

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/F7E70BCB-C248-4DA8-AB1B-B0C8A61533BB%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to