# Divide by Seconds in Time Picker?

**URL:** <https://discuss.elastic.co/t/divide-by-seconds-in-time-picker/59222>\
**Category:** Kibana\
**Created:** [August 29, 2016, 5:24pm UTC](https://discuss.elastic.co/t/divide-by-seconds-in-time-picker/59222 "2016-08-29T17:24:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Janet](https://avatars.discourse-cdn.com/v4/letter/j/5e9695/32.png) [@Janet](https://discuss.elastic.co/u/Janet)\
**Post date:** [August 29, 2016, 5:24pm UTC](https://discuss.elastic.co/t/divide-by-seconds-in-time-picker/59222/1 "2016-08-29T17:24:19Z")

</div>

Can I make a column that is a sum divided by time range up right?

For example, I have one column that is a top 10 by bytes transferred. I want to display the mbit/sec for the host beside it. I can pre-do some of the math in logstash via ruby if necessary (bytes to bits, etc) but I can't figure out how to take the value and divide it by whatever time is picked. I don't really want the average - there may be hundreds of thousands of packets, so the average size in bytes isn't what I want. I want to make a bytes/time column, where /time is based on the number of seconds in the time picker.

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [August 29, 2016, 6:27pm UTC](https://discuss.elastic.co/t/divide-by-seconds-in-time-picker/59222/2 "2016-08-29T18:27:07Z")

</div>

This is not supported in Kibana today, but we have an open issue for this kind of metric math: [https://github.com/elastic/kibana/issues/4646#issuecomment-130338994](https://github.com/elastic/kibana/issues/4646#issuecomment-130338994)

---

<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:** [July 6, 2017, 1:40pm UTC](https://discuss.elastic.co/t/divide-by-seconds-in-time-picker/59222/3 "2017-07-06T13:40:02Z")

</div>


