InfluxDB does not have a concept of a month, because it isn't a regular
interval. For total traffic per week you could do something like:

SELECT SUM(rx_bytes) + SUM(tx_bytes) FROM metrics GROUP BY time(1w),
hostname

On Thu, Aug 18, 2016 at 9:13 AM, <[email protected]> wrote:

> Hi
>
> I have a measurement with network interface counter in bytes.
>
> Can I get total amount of traffic per specified month?
>
> Thanks.
>
> --
> 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/34ee2483-5a53-4707-ba2d-276f178e0b7f%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Sean Beckett
Director of Support and Professional Services
InfluxDB

-- 
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/CALGqCvPmj1MJTjEsWH%2B_Zs%2BtYEWE9jEV%2BZTwpM2KdXFRJosrWA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to