Re: improving signal to noise ratio from centralized network syslogs
5 Feb
2018
5 Feb
'18
1:55 p.m.
--- shane@short.id.au wrote: In addition to that, you can use some fancy awk colour coding, so you can make it highlight certain lines based on content.. I use this for my e-mail logs, but I’m sure it could be adapted: tail -n 1000 -f /var/log/mail-submission.log | grep smtp.*relay | awk ' /sent/ {print "\033[32m" $0 "\033[39m"} /bounced/ {print "\033[31m" $0 "\033[39m"} /deferred/ {print "\033[33m" $0 "\033[39m"} ---------------------------------------------------- The main thing for me is to find things that your network is doing that you weren't aware of. Not normal things you want to see that a monitoring system will alert you about. scott
2530
Age (days ago)
2530
Last active (days ago)
0 comments
1 participants
participants (1)
-
Scott Weeks