# Timelion: calculations on discrete times

**URL:** <https://discuss.elastic.co/t/timelion-calculations-on-discrete-times/105677>\
**Category:** Kibana\
**Tags:** timelion\
**Created:** [October 29, 2017, 8:47pm UTC](https://discuss.elastic.co/t/timelion-calculations-on-discrete-times/105677 "2017-10-29T20:47:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lidavid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lidavid/32/23531_2.png) [@lidavid](https://discuss.elastic.co/u/lidavid)\
**Post date:** [October 29, 2017, 8:47pm UTC](https://discuss.elastic.co/t/timelion-calculations-on-discrete-times/105677/1 "2017-10-29T20:47:50Z")

</div>

Hey,  
I am not sure that my headline really describes what i want to do so I hope that my explanation bellow is clearer.  
My data look's like in the image bellow.  
 ![data](https://us1.discourse-cdn.com/elastic/original/3X/f/9/f9651683350f72b95d44fec6cd9a71fb87ef6d91.jpg)

I am trying to understand if it's possible to get from Timeline (or any other way that you can point me to) the discrete times X1,X2 and X3, when my data from A = (X1+X2) and from B = (X2+X3).

Basically what i want to do is to get X1,X2,X3 times and be able to do calculations on them.

The data that i have comes in a form of continuous time. For example for A it will be a continuous time (X1+X2) and i should be able to know where A well cross with B, get this crossing times and do calculations on them.

Any direction that you can point me to will be really helpful,  
Thanks !

---

<div class="post-metadata">

**Author:** ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)\
**Post date:** [October 30, 2017, 9:06pm UTC](https://discuss.elastic.co/t/timelion-calculations-on-discrete-times/105677/2 "2017-10-30T21:06:18Z")

</div>

Can you share what type of calculations you're trying to do? Timelion will let you plot multiple lines on a chart and perform functions of aggregates of data. Do you want the end result to be a chart? Or a set of numbers?

If you need precise numbers, and a series of steps like first finding the intersection, and then performing some math, I think it might be easiest to write something separate and use timelion to eyeball the results.

---

<div class="post-metadata">

**Author:** ![lidavid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lidavid/32/23531_2.png) [@lidavid](https://discuss.elastic.co/u/lidavid)\
**Post date:** [October 30, 2017, 9:21pm UTC](https://discuss.elastic.co/t/timelion-calculations-on-discrete-times/105677/3 "2017-10-30T21:21:08Z")

</div>

I got CPU's that preform reads/writes and i want to be able to calculate and plot the bandwidth of the reads/writes over time. The calculations are not the hard part , the hard part is to find the intersections.  
I was wondering if there is any way to do that with Kibana/Timelion/Mathlion or any other way that you can suggest.

---

<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:** [November 27, 2017, 9:21pm UTC](https://discuss.elastic.co/t/timelion-calculations-on-discrete-times/105677/4 "2017-11-27T21:21:21Z")

</div>

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