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.tah...@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-boun...@verplant.org]On Behalf Of Suresh 
Rajagopal
Sent: Monday, November 13, 2017 10:53 PM
To: collectd@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
   
_______________________________________________
collectd mailing list
collectd@verplant.org
https://mailman.verplant.org/listinfo/collectd

Reply via email to