i want to find the sum of top 3 values from the stream of data, how can it be 
done?

i am looking something like,

var data = stream
                |from()
                  .measurement('measurement1')
                  .groupBy('a','b','c')
                |top(3,"field")
                |sum("field")

and i would like to rais ean alert if (data==0)

-- 
Remember to include the InfluxDB version number with all issue reports
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxDB" 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/49c35e05-d7b7-4f2a-97d1-64a3723bdc94%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to