# Timelion, dated indices and the time picker

**URL:** https://discuss.elastic.co/t/timelion-dated-indices-and-the-time-picker/65583
**Category:** Kibana
**Tags:** timelion
**Created:** [November 10, 2016, 6:06am UTC](https://discuss.elastic.co/t/timelion-dated-indices-and-the-time-picker/65583 "2016-11-10T06:06:28Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![tomr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tomr/32/48260_2.png) [@tomr](https://discuss.elastic.co/u/tomr)
#### Post date: [November 10, 2016, 6:06am UTC](https://discuss.elastic.co/t/timelion-dated-indices-and-the-time-picker/65583/1 "2016-11-10T06:06:28Z")

</div>

We have a lot of large indices indices, separated daily as eg ourindex-YYYY.MM.DD

Timelion appears to be a bit insensitive to the dates. I want to create a dashboard (for people who don't want to edit timelion config) to show a few time series, which can be usefully viewed with the time-picker set to "Last 15m".

At the moment I appear to have two inadequate options:

1. use `.es(index=ourindex-*)`
2. manually insert the appropriate `YYYY.MM.DD` value each day

The second option is out because it's too much hassle for the users, and the first one goes off and queries a thousand or so large indices, taking quite a while to return.

Is there any way to get Timelion to only hit the time-picker appropriate dated indices?

---

<div class="post-metadata">

### Author: ![alainc](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@alainc](https://discuss.elastic.co/u/alainc)
#### Post date: [November 10, 2016, 10:55am UTC](https://discuss.elastic.co/t/timelion-dated-indices-and-the-time-picker/65583/2 "2016-11-10T10:55:36Z")

</div>

Hi  
i posted something like this long time ago and it seems it had been integrated [Timelion timeseries in kibana visualise](https://discuss.elastic.co/t/timelion-timeseries-in-kibana-visualise/45971/2?u=alainc)

so it should be ok now.

---

<div class="post-metadata">

### Author: ![spalger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spalger/32/14092_2.png) [@spalger](https://discuss.elastic.co/u/spalger)
#### Post date: [November 11, 2016, 10:04pm UTC](https://discuss.elastic.co/t/timelion-dated-indices-and-the-time-picker/65583/3 "2016-11-11T22:04:23Z")

</div>

As suggested by @alainc, does changing your timelion functoin to `.es(index=outindex-*, kibana=true)` solve the problem?

---

<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 9, 2016, 10:04pm UTC](https://discuss.elastic.co/t/timelion-dated-indices-and-the-time-picker/65583/4 "2016-12-09T22:04:23Z")

</div>

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