On 14/06/16 23:04, Becker Christian wrote:
Hey Jeremy,
_brilliant!_
I decided to go with a mix of option 1 and option2.
This is what I’ve put in client-local.cfg:
log:
ls/path/to/log/Log.File_ABC*.log| grep $(date +%Y%m%d):10240Now i’m getting 6 logfiles in the msgs column -> great!
This is what I’ve put in analysis.cfgfor the specific linux client:
LOG%/path/to/log/Log.File_ABC*.log ERROR COLOR=red
However, this does _NOT_ let the msgs column go red, although the files do contain the keyword ERROR, exactly matching the case. And I can see those keywords on the msgs page as well.
What is going wrong here now?
I think something like this might work:
LOG%/path/to/log/Log.File_ABC.*.log ERROR COLOR=red
C* means zero or more of the letter C, while .* means 0 or more of any character....
Also, it isn't "anchored" at the beginning/end, so you shouldn't need to add a .* to the beginning/end....
Hope that helps.
Regards, Adam
-- Adam Goryachev Website Managers www.websitemanagers.com.au