# Timelion gives different result when it auto refreshes

**URL:** <https://discuss.elastic.co/t/timelion-gives-different-result-when-it-auto-refreshes/155182>\
**Category:** Kibana\
**Tags:** timelion\
**Created:** [November 2, 2018, 2:21pm UTC](https://discuss.elastic.co/t/timelion-gives-different-result-when-it-auto-refreshes/155182 "2018-11-02T14:21:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hugo\_Hendriks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hugo_hendriks/32/37231_2.png) [@Hugo\_Hendriks](https://discuss.elastic.co/u/Hugo_Hendriks)\
**Post date:** [November 2, 2018, 2:21pm UTC](https://discuss.elastic.co/t/timelion-gives-different-result-when-it-auto-refreshes/155182/1 "2018-11-02T14:21:11Z")

</div>

Hi,

I have a Timelion visualization which works fine with auto refresh when i set it to 4 hours. When I set the timeframe to Today So far, when it refreshes the timelion graph, it comes up with different graphs which isnt correct. See the gif here how it looks.  
 ![timelion](https://us1.discourse-cdn.com/elastic/original/3X/4/3/437416ef212d9825498d3434a9717d1f1126c39e.gif)

My timelion expression looks like this:

.es(offset=-1w, index="servicedata\*",timefield="datum").label("Vorige Week").lines(fill=1,width=0.5).color(gray), .es(index="servicedata\*",timefield="datum").label("Vandaag").color(#1E90FF).legend(columns=3, position=nw)

I am running on [Cloud.es.io](http://Cloud.es.io) 6.4.2

---

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [November 2, 2018, 6:22pm UTC](https://discuss.elastic.co/t/timelion-gives-different-result-when-it-auto-refreshes/155182/2 "2018-11-02T18:22:04Z")

</div>

Hi Hugo,

Have you customized the `elasticsearch.shardTimeout` in your `kibana.yml` file? We have received reports of inconsistent charts when this setting is `0`. [https://github.com/elastic/kibana/issues/23428](https://github.com/elastic/kibana/issues/23428)

Setting it the default (`30000`) appears to fix the issue.

---

<div class="post-metadata">

**Author:** ![Hugo\_Hendriks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hugo_hendriks/32/37231_2.png) [@Hugo\_Hendriks](https://discuss.elastic.co/u/Hugo_Hendriks)\
**Post date:** [November 3, 2018, 10:24am UTC](https://discuss.elastic.co/t/timelion-gives-different-result-when-it-auto-refreshes/155182/3 "2018-11-03T10:24:34Z")

</div>

Hi Nick,

That seems to be my issue. The only problem is that I am using [cloud.elastic.co](http://cloud.elastic.co) and in advanced settings there is no shardTimeout setting so I think I'll have to raise an issue with a link to the bug.

Thanks for the quick response though!

best regards,  
Hugo

---

<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:** [December 1, 2018, 10:24am UTC](https://discuss.elastic.co/t/timelion-gives-different-result-when-it-auto-refreshes/155182/4 "2018-12-01T10:24:39Z")

</div>

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