# Summed data seems wildly incorrect (bytes\_sent in past hour)

**URL:** <https://community.influxdata.com/t/summed-data-seems-wildly-incorrect-bytes-sent-in-past-hour/17510>\
**Category:** InfluxDB 2\
**Tags:** influxdb, telegraf, flux\
**Created:** [January 5, 2021, 11:30pm UTC](https://community.influxdata.com/t/summed-data-seems-wildly-incorrect-bytes-sent-in-past-hour/17510 "2021-01-05T23:30:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ROODAY](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/rooday/32/6290_2.png) [@ROODAY](https://community.influxdata.com/u/ROODAY)\
**Post date:** [January 5, 2021, 11:30pm UTC](https://community.influxdata.com/t/summed-data-seems-wildly-incorrect-bytes-sent-in-past-hour/17510/1 "2021-01-05T23:30:23Z")

</div>

I’m using InfluxDB2 on an Ubuntu system to monitor it, stuff like CPU, Mem usage, network stuff, etc. (all collected via the System telegraf plugin). Currently I’m trying to add a cell to my board that shows total outbound traffic in the past hour, but the data makes no sense. This is the code for the query:

```auto
import "math"

from(bucket: v.bucket)
  |> range(start: v.timeRangeStart)
  |> filter(fn: (r) => r._measurement == "net")
  |> filter(fn: (r) => r._field == "bytes_sent")
  |> filter(fn: (r) => r["host"] == "engager")
  |> filter(fn: (r) => r["interface"] == "eno2")
  |> sum()
  |> map(fn: (r) => ({
      r with
      _value: r._value / 1073741824
    })
  )

```

It should return a single value for the total gigabytes sent (hence the division), and when I use 1h for the time window, I get values like 570,000 GB, which is crazy, especially considering the network graph in the same timeframe looks like this:  
 ![image](https://us1.discourse-cdn.com/flex023/uploads/influxdata/original/2X/4/4d9b4c7f956b1ad014b22f7615f8c252d9b42428.png)

Is there something I’m missing in my query, or did I mess it up somehow? Because there’s no way this value is correct.
