On Tuesday, October 25, 2016 at 9:35:57 AM UTC+3, Biplab Sarkar wrote:
> Hi,
> Is there was way to stop telegraf from sending a particular set of gauge to 
> influxdb? I wanted to have a "delete_gauges=true" like option for a 
> particular set of gauge.
> Or is there a "droptag" plugin option for statsd interface?
> 
> Thanks & Regards,
> Biplab

Hi,

Please refer to measurement filtering documentation: 
https://github.com/influxdata/telegraf/blob/master/docs/CONFIGURATION.md#measurement-filtering

Data incoming from any input plugin are translated to Influx Line protocol so 
the measurement filtering options can be applied.

Tagdrop will drop the whole point, tagexclude will exclude that tag.

E.g.

If you set the following tagdrop flag at the end of statsd config section:
   [inputs.statsd.tagdrop]
   cpu = [ "cpu6", "cpu7" ]

And send the following sample data:

echo "users.current,cpu=cpu5,service=payroll,region=us-west:32|g" | nc -u 
127.0.0.1 8125

echo "users.current,cpu=cpu6,service=payroll,region=us-west:32|g" | nc -u 
127.0.0.1 8125

The second metric will be dropped.

-- 
Remember to include the version number!
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/influxdb/b22e39a5-7d0c-4b20-a2e8-0b1dce47be63%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to