Skip to content

Instantly share code, notes, and snippets.

@rodrigodev
Created June 19, 2017 23:07
Show Gist options
  • Select an option

  • Save rodrigodev/debe24a49379f641f7d8dd1ea18e05b0 to your computer and use it in GitHub Desktop.

Select an option

Save rodrigodev/debe24a49379f641f7d8dd1ea18e05b0 to your computer and use it in GitHub Desktop.
# 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