Skip to content

Instantly share code, notes, and snippets.

@randy3k
Last active August 25, 2024 04:01
Show Gist options
  • Save randy3k/32fd3e7b8e4e44de91fd012c8cde9275 to your computer and use it in GitHub Desktop.
Save randy3k/32fd3e7b8e4e44de91fd012c8cde9275 to your computer and use it in GitHub Desktop.
rsyslog netcat example
# 134 = 16 * 8 + 6, i.e. facility = local0 and severity = info
echo "<134>1 - $HOSTNAME $PROGRAMNAME - - hello world" | nc -u -w 0 $DEST 514
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment