Multitail color scheme for Zimbra’s mailbox.log

If you’ve ever spent time tailing log files you’ve probably heard of multitail (if not, go check it out). You can install it via apt on Debian — not sure about other OSs. Anyway, here’s a color scheme for Zimbra’s mailbox.log that you can paste into /etc/multitail.conf:

#
# zimbra mailbox.log
colorscheme:zimbra:Zimbra mailbox.log
cs_re_s:green,,bold: (DEBUG)
cs_re_s:green,,bold: (INFO)
cs_re_s:yellow,,bold: (WARN)
cs_re_s:red,,bold: (ERROR)
cs_re_s:yellow,red,bold: (FATAL)
cs_re_s:cyan:^([0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}\:[0-9]{2}\:[0-9]{2},[0-9]*?)
cs_re:cyan:\[|\]
cs_re:yellow:[;=]
cs_re_s:blue,,bold:([A-Za-z\-]*?)=
cs_re_s:magenta,,bold:=([A-Za-z0-9_\.\-]*@[A-Za-z0-9_\.\-]*?)[;,]{1}
cs_re:green,,bold:[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}
cs_re_s:yellow,,bold:[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\:([0-9]{1,5})
cs_re_s:green:ua=(.*?);
cs_re_s:green:mid=(.*?);

Enjoy!