Created
December 15, 2015 09:35
-
-
Save avovsya/419a98981e20f4af82d4 to your computer and use it in GitHub Desktop.
Tail and Grep log files from multiple servers
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
cat <(ssh server1 sudo tail -f /var/log/log.log) <(ssh server2 sudo tail -f /var/log/log.log) | grep /api/1/test >> hits |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment