garabik/grc

Random | All colors log colorization based on regular expression matches

JosueGauthier opened this issue · 0 comments

Hello,

We have some log lines and we would like to colorize if it contains one case in a Regexp : For example here below I would like to color
Test1 in a defined color, Test2 in another ...

13:00 Test1 ...
13:01 Test2 ...
13:02 Test34 ...

It should be will be something like this :

regexp=Test\d+
colour=RandomColors() or all

or something like this :

regexp=Algo\d+
colour=bold white,magenta,cyan,yellow

Thanks