# Scale\_interval in timelion in elasticsearch query

**URL:** <https://discuss.elastic.co/t/scale-interval-in-timelion-in-elasticsearch-query/122529>\
**Category:** Elasticsearch\
**Created:** [March 5, 2018, 2:18pm UTC](https://discuss.elastic.co/t/scale-interval-in-timelion-in-elasticsearch-query/122529 "2018-03-05T14:18:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jibin\_Mathews](https://avatars.discourse-cdn.com/v4/letter/j/8e7dd6/32.png) [@Jibin\_Mathews](https://discuss.elastic.co/u/Jibin_Mathews)\
**Post date:** [March 5, 2018, 2:18pm UTC](https://discuss.elastic.co/t/scale-interval-in-timelion-in-elasticsearch-query/122529/1 "2018-03-05T14:18:56Z")

</div>

[Here](https://www.elastic.co/blog/sparse-timeseries-and-timelion) we are introduced to scale\_interval in timelion can we have the same functionality in an Elasticsearch query?  
here is the synopsis,

> But what if you want to see a bytes per second chart? No matter what interval is selected? We can now employ scale\_interval(1s). Below we can see that that chart’s y-axis extents and shape stay about the same as we change the interval. This is because we’re scaling the chart to always represent a 1 second rate.

---

<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 2, 2018, 2:19pm UTC](https://discuss.elastic.co/t/scale-interval-in-timelion-in-elasticsearch-query/122529/2 "2018-04-02T14:19:09Z")

</div>

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