I have alerts that give errors from time to time.
its tick script is like that:
var stats = stream
|from()
.database('telegraf')
.measurement('system')
|groupBy('project', 'roles', 'stages', 'host')
|default()
.field('n_cpus', 1)
|eval(lambda: "load1" / float("n_cpus"))
.as('relative_load_1')
.keep()
sometimes it says that some group lacks of “roles” or “project” perhaps due telegraf missconfiguration on some nodes there’s also several errors per second of
[hi_load:eval4] 2017/03/29 16:44:02 E! no field or tag exists for load1
But looking for the system measurement in telegraf database all the last entries have “load1” field…
Is there a way to dump only the failed groups?