Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aggregator Basicstats - Unable to configure which basic stats to push as fields #3676

Closed
arti007 opened this issue Jan 16, 2018 · 1 comment

Comments

@arti007
Copy link

arti007 commented Jan 16, 2018

Configurable Aggregator Basicstats seems to be already available as per the below links, but somehow didn’t work for me for Telegraf v1.5.0 (git: release-1.5 a1668bb)
https://github.com/influxdata/telegraf/tree/master/plugins/aggregators/basicstats
#3580

Also a new version of Telegraf released last week . But is not working with the new version as well.
https://community.influxdata.com/t/telegraf-v1-5-1/3670

getting this error -

telegraf -config telegraf.conf
2018/01/16 12:05:18 E! Error parsing telegraf.conf, line 153: field corresponding to stats' is not defined in *basicstats.BasicStats'

Here is the snippet of telegraf.conf -

[[aggregators.basicstats]]
period = "60s"
drop_original = true
stats = ["count","min","max"]

@arti007 arti007 changed the title Aggregator Basicstats - Unable to configures which basic stats to push as fields Aggregator Basicstats - Unable to configure which basic stats to push as fields Jan 16, 2018
@danielnelson
Copy link
Contributor

stats is only in 1.6, use the release-1.5 branch to get the docs for version 1.5.x:

https://github.com/influxdata/telegraf/tree/release-1.5/plugins/aggregators/basicstats

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants