# Can scale\_interval in time series?

**URL:** <https://discuss.elastic.co/t/can-scale-interval-in-time-series/103467>\
**Category:** Kibana\
**Created:** [October 11, 2017, 5:27am UTC](https://discuss.elastic.co/t/can-scale-interval-in-time-series/103467 "2017-10-11T05:27:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![RomainXie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/romainxie/32/22427_2.png) [@RomainXie](https://discuss.elastic.co/u/RomainXie)\
**Post date:** [October 11, 2017, 5:27am UTC](https://discuss.elastic.co/t/can-scale-interval-in-time-series/103467/1 "2017-10-11T05:27:04Z")

</div>

Hi,

Can I set the Time Series to show which like defined in the Timelion?

.es(index=netflow-latest, timefield=@timestamp, metric='sum:system.network.in.flow').yaxis(units=bits/s).scale\_interval(1m)

That means, I need first sum the data, and then scale the result of the sum to a time interval.

Thank you.  
Romain

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [October 11, 2017, 4:59pm UTC](https://discuss.elastic.co/t/can-scale-interval-in-time-series/103467/2 "2017-10-11T16:59:19Z")

</div>

You can set the specific interval in the `Panel Options` tab, with the `Interval` box. If you set it to 1m it should give you the same result as `.scale_interval(1m)`

---

<div class="post-metadata">

**Author:** ![RomainXie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/romainxie/32/22427_2.png) [@RomainXie](https://discuss.elastic.co/u/RomainXie)\
**Post date:** [October 11, 2017, 6:05pm UTC](https://discuss.elastic.co/t/can-scale-interval-in-time-series/103467/3 "2017-10-11T18:05:25Z")

</div>

Yes, after set it, I can get the data.  
But, in the image, there is too many point be draw.  
In the Timelion, the point to draw is better.

Is there any other way to try?

Thanks

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [October 11, 2017, 6:17pm UTC](https://discuss.elastic.co/t/can-scale-interval-in-time-series/103467/4 "2017-10-11T18:17:00Z")

</div>

Do you just want to have the points removed from the chart? In this case, you can set the "Point size" to 0 in the options of the Data tab.

---

<div class="post-metadata">

**Author:** ![RomainXie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/romainxie/32/22427_2.png) [@RomainXie](https://discuss.elastic.co/u/RomainXie)\
**Post date:** [October 12, 2017, 1:25am UTC](https://discuss.elastic.co/t/can-scale-interval-in-time-series/103467/5 "2017-10-12T01:25:10Z")

</div>

Thanks, it's better than too many many point show 😊

---

<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 9, 2017, 1:25am UTC](https://discuss.elastic.co/t/can-scale-interval-in-time-series/103467/6 "2017-11-09T01:25:58Z")

</div>

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