Last active
August 25, 2024 04:01
-
-
Save randy3k/32fd3e7b8e4e44de91fd012c8cde9275 to your computer and use it in GitHub Desktop.
rsyslog netcat example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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