# How can i measure the sum , max , min of "bytes\_sent" attribut using timelion?

**URL:** <https://discuss.elastic.co/t/how-can-i-measure-the-sum-max-min-of-bytes-sent-attribut-using-timelion/142927>\
**Category:** Kibana\
**Tags:** timelion\
**Created:** [August 3, 2018, 2:38pm UTC](https://discuss.elastic.co/t/how-can-i-measure-the-sum-max-min-of-bytes-sent-attribut-using-timelion/142927 "2018-08-03T14:38:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![med\_amine](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@med\_amine](https://discuss.elastic.co/u/med_amine)\
**Post date:** [August 3, 2018, 2:38pm UTC](https://discuss.elastic.co/t/how-can-i-measure-the-sum-max-min-of-bytes-sent-attribut-using-timelion/142927/1 "2018-08-03T14:38:20Z")

</div>

dhfghjgjdfgjdfjh

---

<div class="post-metadata">

**Author:** ![Larry\_Gregory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/larry_gregory/32/34969_2.png) [@Larry\_Gregory](https://discuss.elastic.co/u/Larry_Gregory)\
**Post date:** [August 3, 2018, 2:56pm UTC](https://discuss.elastic.co/t/how-can-i-measure-the-sum-max-min-of-bytes-sent-attribut-using-timelion/142927/2 "2018-08-03T14:56:17Z")

</div>

Hi @med_amine,

Once you ingest your log file into Elasticsearch, you can use a timelion expression similar to

```auto
.es(index=med*, metric=avg:bytes_sent)

```

Which shows the average bytes sent:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/e/4ed3f8879525135d750a80521393aa05ae121022.png)

There are many ways to ingest your log file: [Logstash](https://www.elastic.co/products/logstash) and [Beats](https://www.elastic.co/products/beats) are both great options that we support. I suggest asking in the Logstash or Beats topics if you need help sending your log files to Elasticsearch.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 31, 2018, 2:56pm UTC](https://discuss.elastic.co/t/how-can-i-measure-the-sum-max-min-of-bytes-sent-attribut-using-timelion/142927/3 "2018-08-31T14:56:18Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
