How to forward syslog messages stored on NFS location to graylog

Hello,

I already have syslog server in my environment which keeps all syslog messages in NFS location.
My question is on “how to forward syslog messages stored on that NFS location to graylog” .

Thanks in advance

You can use any log shipper, such as Filebeat, NXLOG, or Logstash, to read these files and send them to Graylog.

Also take a look at the Graylog Collector Sidecar: http://docs.graylog.org/en/2.3/pages/collector_sidecar.html

1 Like

NXLOG is a good option. Try that

1 Like

Thanks! I used NXLOG to send these files to Graylog.

The only trouble I have is that forwarding works only if I select GELF TCP .
UDP is not working. What could be the reason?

Just out of curiosity. Why is using TCP a problem? I find it works fine. You can configure NXLog to re-establish the connection on regular intervals, if you need that due to load balancing or some other reason.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.