24 Aug
2006
24 Aug
'06
8:41 p.m.
Shirefolk:
I am playing with the nifty new 4.2 features, and was trying to get the "linecount" function to work. I *thought* I could maybe use this to track the number of entries in a file, and perhaps graph over time, but I am starting to suspect that Henrik meant linecount for something else.
I see where you configure client-local.cfg with:
linecount:<filename>
<handle>:<regex>
This should alert the Hobbit agent to start grepping <filename> for <regex> and somehow bind the count to <handle>?
Then what? Do you configure something in hobbit-clients.cfg to match this?
I tried:
LOG <filename> .* COLOR=GREEN
To see what would happen, but nothing did...
GLH