-
-
Save kyparisisg/19efa33c8853a8345fca49225268e1de to your computer and use it in GitHub Desktop.
Use netcat to send syslog messages
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
# Here’s how to create UDP syslog messages via nc, netcat: | |
echo ‘<14>_sourcehost_ messagetext’ | nc -v -u -w 0 _syslog-host_ 514 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment