# Timelion and splines

**URL:** <https://discuss.elastic.co/t/timelion-and-splines/101789>\
**Category:** Kibana\
**Tags:** timelion\
**Created:** [September 26, 2017, 6:53am UTC](https://discuss.elastic.co/t/timelion-and-splines/101789 "2017-09-26T06:53:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![massim0](https://avatars.discourse-cdn.com/v4/letter/m/b5e925/32.png) [@massim0](https://discuss.elastic.co/u/massim0)\
**Post date:** [September 26, 2017, 6:53am UTC](https://discuss.elastic.co/t/timelion-and-splines/101789/1 "2017-09-26T06:53:27Z")

</div>

Hello,  
I would need to use math function splines in timelion. How can I do? Is it supported? There is an alternative way to smooth the angles of line chart in timelion?  
thank you very much for help me!!

---

<div class="post-metadata">

**Author:** ![chrisronline](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrisronline/32/28230_2.png) [@chrisronline](https://discuss.elastic.co/u/chrisronline)\
**Post date:** [September 27, 2017, 1:48pm UTC](https://discuss.elastic.co/t/timelion-and-splines/101789/2 "2017-09-27T13:48:36Z")

</div>

Hey there,

We unfortunately do not support the spline function, but you can try and use the [moving average](https://github.com/elastic/timelion/blob/master/FUNCTIONS.md#movingaverage) function for smoothing. Also, see [this blog post](https://www.elastic.co/blog/sparse-timeseries-and-timelion) for more things to try as well.

If this doesn't help, I can dig more if you share the timelion query you're using.

Thanks,  
Chris

---

<div class="post-metadata">

**Author:** ![massim0](https://avatars.discourse-cdn.com/v4/letter/m/b5e925/32.png) [@massim0](https://discuss.elastic.co/u/massim0)\
**Post date:** [September 28, 2017, 7:24am UTC](https://discuss.elastic.co/t/timelion-and-splines/101789/3 "2017-09-28T07:24:29Z")

</div>

Thanks so much

---

<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:** [October 26, 2017, 7:24am UTC](https://discuss.elastic.co/t/timelion-and-splines/101789/4 "2017-10-26T07:24:34Z")

</div>

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