I want to rewrite logcheck.

Here is a braindump of the essential ideas:

using templates

using tags

selection of filters to apply should be dependent on the list of installed packages as well as a set of topical tags. the filters to use are the ones in both sets, so their intersection.

Example:

Now only messages relating to any of the three tags and applicable to ssh and postfix will be filtered out.

package versions

I want files like postfix-2.2 and postfix-2.3. Now if postfix 2.2.5 is installed, it uses the file with version less than or equal to, so postfix-2.2 would be used.

context-based rules

modular design

a simple editor

One subscriber could be a simple editor that allowed you to select a rule and using the existing templates suggest a regexp, asking the user to interactively refine it while it still matches. Once the rule is finished, it could be saved to a local file and even submitted upstream.

Additionally, the editor should display "similar" (already existing) rules. So that the user can decide if it is better to make a new rule or to generalize an old one.

links

logfilter (last edited 2007-02-28 09:51:00 by madduck)