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