Last active
October 9, 2019 21:50
-
-
Save aronbudinszky/2dde967a95e3944d4203151036d5f7fd to your computer and use it in GitHub Desktop.
Examples for running a campfire stream.
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
# Stream all lines from a log file | |
./tail-campfire.sh "/var/log/apache/example-site-error.log" "https://3.basecamp.com/.../lines" | |
# Stream lines that contain 'fatal error' | |
./tail-campfire.sh "/var/log/apache/example-site-error.log" "https://3.basecamp.com/.../lines" "fatal error" | |
# Run the script on a background thread | |
./tail-campfire.sh "/var/log/apache/example-site-error.log" "https://3.basecamp.com/.../lines" & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment