Created
June 2, 2015 19:14
-
-
Save shawing/5e8cd53921621c8dcde2 to your computer and use it in GitHub Desktop.
Multitail color-code each line based on it's http status code "family"
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
check_mail:0 | |
# color-code each line based on it's http status code "family" | |
colorscheme:nginx | |
cs_re:green:^.* 20.? .*$ | |
cs_re:cyan:^.* 30.? .*$ | |
cs_re:yellow:^.* 40.? .*$ | |
cs_re:red:^.* 50.? .*$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I use this on a busy nginx server. When the log entries fly by faster than you can read it, this is nice to see all the 200 status codes colored green and then I can just focus on the yellow and red lines for a site's problems.