# Use variables / user input for offset in time series builder or timelion?

**URL:** <https://discuss.elastic.co/t/use-variables-user-input-for-offset-in-time-series-builder-or-timelion/173810>\
**Category:** Kibana\
**Tags:** timelion\
**Created:** [March 25, 2019, 6:10pm UTC](https://discuss.elastic.co/t/use-variables-user-input-for-offset-in-time-series-builder-or-timelion/173810 "2019-03-25T18:10:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)\
**Post date:** [March 25, 2019, 6:10pm UTC](https://discuss.elastic.co/t/use-variables-user-input-for-offset-in-time-series-builder-or-timelion/173810/1 "2019-03-25T18:10:09Z")

</div>

Hi, timelion and time series builder are offering an offset function to visualize today's and let's say last week's values on top of each other for comparing.

In the past I wrote an external HTML page which calculates the offset of two dates via Java script and then it builds a very very very etc. long url to build the dashboard with the given offset. that was on 6.2.4.

Is there now a better way to use user input to set the offset?

If not I would really really appreciate such feature.  
We also used that feature to compare time series of different test runs to compare our loadtests.

Thanks, Andreas

---

<div class="post-metadata">

**Author:** ![Bargs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bargs/32/5429_2.png) [@Bargs](https://discuss.elastic.co/u/Bargs)\
**Post date:** [March 26, 2019, 8:06pm UTC](https://discuss.elastic.co/t/use-variables-user-input-for-offset-in-time-series-builder-or-timelion/173810/2 "2019-03-26T20:06:27Z")

</div>

Nothing like that exists today but it sounds like an interesting idea. Please file a feature request on our [Github repo](https://github.com/elastic/kibana/issues/new?template=Feature_request.md)!

---

<div class="post-metadata">

**Author:** ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)\
**Post date:** [March 27, 2019, 10:23am UTC](https://discuss.elastic.co/t/use-variables-user-input-for-offset-in-time-series-builder-or-timelion/173810/3 "2019-03-27T10:23:28Z")

</div>

done:

> <https://github.com/elastic/kibana/issues/33927>

I really hope that you will implement sth like that.

---

<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:** [April 24, 2019, 10:23am UTC](https://discuss.elastic.co/t/use-variables-user-input-for-offset-in-time-series-builder-or-timelion/173810/4 "2019-04-24T10:23:29Z")

</div>

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