[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How does linecount work?
- To: <hobbit (at) hswn.dk>
- Subject: How does linecount work?
- From: "Hubbard, Greg L" <greg.hubbard (at) eds.com>
- Date: Thu, 24 Aug 2006 15:41:17 -0500
- Thread-index: AcbHvaY33LsBdYeuQMyVCA6m7L8Dgg==
- Thread-topic: 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