[collectd] Metadata for Splunk Metircs

Suresh Rajagopal sureshr7 at gmail.com
Tue Nov 14 21:23:59 CET 2017


 Hi Maryam,
Thanks. I was able to use MetaData to add custom values. Looks like in splunk 7, its looking for the values as DSNames for dimensions. Is there any way to add a custom DSname and attach it to all the data points ?

PostCacheChain "PostCache"

<Chain "PostCache">

  <Rule "test">

    <Target "set">

      MetaData "foo" "bar"

    </Target>


  </Rule>

  Target "write"

</Chain>



ThanksSuresh Rajagopal
    On Tuesday, November 14, 2017, 5:41:09 AM PST, Tahhan, Maryam <maryam.tahhan at intel.com> wrote:  
 
 
Hi Suresh
 
You can use a filtering chain to set the metadata, Please see:https://collectd.org/documentation/manpages/collectd.conf.5.shtml#filter_configuration
 
  
 
BR
 
Maryam
 
  
 
From: collectd [mailto:collectd-bounces at verplant.org]On Behalf Of Suresh Rajagopal
Sent: Monday, November 13, 2017 10:53 PM
To: collectd at verplant.org
Subject: [collectd] Metadata for Splunk Metircs
 
  
 
Hi,
 
  
 
I need to add some custom metadata like (region/site) for all metrics from a host. How to achieve that?
 
  
 
I can in see in write_tsdb or write_riemann,there are direct options available. I don't see anything similar with write_http.
 
  
 <Plugin write_tsdb>    <Node "example">      Host "tsd-1.my.domain"      Port "4242"      HostTags "status=production"    </Node>  </Plugin>    <Plugin "write_riemann">    <Node "example">      Host "localhost"      Port "5555"      Protocol UDP      StoreRates true      AlwaysAppendDS false      TTLFactor 2.0    </Node>    Tag "foobar"    Attribute "foo" "bar"  </Plugin> 
  
 
  
 
  
 
Thanks
 
Suresh Rajagopal
   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20171114/76e2aa6f/attachment-0001.html>


More information about the collectd mailing list