loggrep - Counts the number of matching log lines


The following environment variables are used by this plugin:

 logfile       - Files to grep (shellglob) (required)
 regex         - Regex to look for (required)
 label         - Label
 counter       - If set the value captured by the first paren
                 in the regex is summed instead of coutning lines.
                 The value is used for the vertical label.
 regex_<key>   - Additional regexes
 label_<key>   - Additional labels
 counter_<key> - Additional counters (the value is ignored).
 title         - Graph title


TODO: Handle rotated logs


Copyright (C) 2004 Dagfinn Ilmari Mannsaaker


This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 dated June, 1991.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.


 #%# family=manual