Catalin Petrescu
2018-03-19 10:53:01 UTC
Hi all,
I have a requirement to get the max data of
non_negative_derivative(max(ifHCOutOctets) from a series of multiple
interfaces.
I'm trying to run this query :
SELECT non_negative_derivative(max(ifHCOutOctets), 1s) *8 from
interface_statistics where (hostname =~ /RTR_A/ and ifIndex = '49' AND
hostname =~ /RTR_B/ and ifIndex = '65') AND time >= now()- 12h group by
time(5m) fill(0)
Getting empty results.
with individual ones , eg:
SELECT non_negative_derivative(max(ifHCOutOctets), 1s) *8 from
interface_statistics where (hostname =~ /RTR_A/ and ifIndex = '49') AND
time >= now()- 12h group by time(5m) fill(0)
i get proper results , but the goal is to get the maximum value from both
router/interface pairs per interval.
Any way i can achieve that using a query.
Regards,
I have a requirement to get the max data of
non_negative_derivative(max(ifHCOutOctets) from a series of multiple
interfaces.
I'm trying to run this query :
SELECT non_negative_derivative(max(ifHCOutOctets), 1s) *8 from
interface_statistics where (hostname =~ /RTR_A/ and ifIndex = '49' AND
hostname =~ /RTR_B/ and ifIndex = '65') AND time >= now()- 12h group by
time(5m) fill(0)
Getting empty results.
with individual ones , eg:
SELECT non_negative_derivative(max(ifHCOutOctets), 1s) *8 from
interface_statistics where (hostname =~ /RTR_A/ and ifIndex = '49') AND
time >= now()- 12h group by time(5m) fill(0)
i get proper results , but the goal is to get the maximum value from both
router/interface pairs per interval.
Any way i can achieve that using a query.
Regards,
--
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 influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
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/5eaefb91-71ac-4435-b8ec-2eef1cd415c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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 influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
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/5eaefb91-71ac-4435-b8ec-2eef1cd415c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.