How Do I Forward a Syslog in Linux?
Contents

What is syslog forwarding?

Syslog Forwarding is a log transport tool that you can use to forward system, command, and event logs to an external monitoring system. You can configure log forwarding per event broker servicein the PubSub+ Cloud Console.

How do I send a message to syslog?

How to send message to syslog server?

  1. Start your terminal.
  2. Run the command below to send a UDP message to your syslog server. nc -w0 -u 192.168.0.1 514 <<< “testing again from my home machine” …
  3. Now check your log at the syslog server, you should see the message you just send. Happy logging!
Sophia Al-Mansoor

Sophia Al-Mansoor

Global Business & E-Commerce Reporter

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.

Share this article
Twitter Facebook Pinterest