Created
June 19, 2017 23:07
-
-
Save rodrigodev/debe24a49379f641f7d8dd1ea18e05b0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| # send a fake log to log service | |
| echo "<150>`env LANG=us_US.UTF-8 date "+%b %d %H:%M:%S"` host`date +%s` service: my special message goes here" | nc 192.168.0.1 -u 514 -w 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment