filter_pcre: Added a plugin to filter value lists based on PCRE.
authorSebastian Harl <sh@tokkee.org>
Tue, 28 Oct 2008 21:02:38 +0000 (22:02 +0100)
committerSebastian Harl <sh@tokkee.org>
Tue, 28 Oct 2008 21:02:38 +0000 (22:02 +0100)
commita2e60e30e09c9c7d881fe288074e20eb0d748219
tree67613b68aed5441c41e0a62842887eb36efd1e1d
parentb15b750a5d5510ee32feb5988814be123448c791
filter_pcre: Added a plugin to filter value lists based on PCRE.

The user may specify a set of Perl-compatible regular expressions to match any
component of the (host, plugin, plugin instance, type, type instance) tuple.
Any of the filter flags may be used to handle a successful match.

Sample plugin configuration:

  <Plugin filter_pcre>
    <RegEx>
      Host "^mail\d+$"
      Plugin "^tcpconns$"
      TypeInstance "^SYN_"

      Action NoWrite
  </Plugin>
README
configure.in
src/Makefile.am
src/collectd.conf.in
src/collectd.conf.pod
src/filter_pcre.c [new file with mode: 0644]