Hello,<div><br></div><div>I'm looking for some help!  I'm using Collectd 5.1.0 to collect JMX metrics using the GenericJMX plugin and then sending the metrics over to Graphite.   The issue I'm having is I need to rename the metric "Type" that's being sent to graphite.  The format Collectd is currently sending:  <MachineName>.GenericJMX.<InstanceName>.<Type>.<TypeInstance>  The "Type" can change between JMX attribute being collected so metric storage in Graphite can get messy.  So I'd like to take the "Type" and just rename it to something friendly vs gauge,counter,ect..</div>
<div><br></div><div>I've attempted to use collectd filter chains without any luck.  Each time I've attempted to use the replace target to replace the Type name I get the following error:</div><div><div><br></div><div>
-Filter subsystem: Failed to create a replace target.</div><div>-Target `replace': The `Type' configuration option is not understood and will be ignored.</div><div>-Target `replace': You need to set at lease one of `Host', `Plugin', `PluginInstance', `Type', or `TypeInstance'.</div>
</div><div><br></div><div>I'm guessing this is just a matter of me not quiet understanding how filter chains work.  Any help or examples would be very much appreciated!  Below is an example of what I'm trying to do:</div>
<div><br></div><div><div>LoadPlugin "match_regex"</div><div>LoadPlugin "target_replace"</div><div> <Chain "PostCache"></div><div>   <Rule "replace_type"></div><div>     <Match "regex"></div>
<div>       Plugin "^GenericJMX$"</div><div>       Type "^gauge$"</div><div>     </Match></div><div>        <Target "replace"></div><div>          Type "gauge" "test"</div>
<div>        </Target></div><div>     Target "stop"</div><div>   </Rule></div><div>   Target "write"</div><div> </Chain></div><div><br></div><div><br></div><div>Thanks!</div>-- <br>Josh<br>

</div>