Skip to content

Instantly share code, notes, and snippets.

@philipz
Created June 15, 2014 15:35
Show Gist options
  • Save philipz/bd8668dcd445a7bea76e to your computer and use it in GitHub Desktop.
Save philipz/bd8668dcd445a7bea76e to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
TOKEN=$1
journalctl -o short -f | awk -v token=$TOKEN '{ print token, $0; fflush(); }' | ncat data.logentries.com 10000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment