[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How does linecount work?



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