On Tue, Aug 26, 2014 at 10:58 PM, David Blewett <[email protected]>
wrote:

> ​So I've been trying to implement option 1, but have not had any luck.
>

​It ended up being pilot error. I made 2 mistakes that made my chain not
work:

1. Didn't explicitly load the target_set plugin
2. Had a typo in the chain name

Here is my working config, for posterity:

LoadPlugin "match_regex" # we want to use this for our Matching
LoadPlugin "target_set" # This isn't builtin
<Chain "PreCache">
  <Rule> # Strip Host values from "statsd" metrics
    <Match regex>
      Plugin "^statsd$"
    </Match>
    <Target "set">
      Host "rf"
    </Target>
  </Rule>
</Chain>

Thanks,

David Blewett
_______________________________________________
collectd mailing list
[email protected]
http://mailman.verplant.org/listinfo/collectd

Reply via email to