# Canvas time filter \< 24 hours

**URL:** https://discuss.elastic.co/t/canvas-time-filter-24-hours/194643
**Category:** Kibana
**Created:** [August 9, 2019, 3:28pm UTC](https://discuss.elastic.co/t/canvas-time-filter-24-hours/194643 "2019-08-09T15:28:12Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![cbmurphy87](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@cbmurphy87](https://discuss.elastic.co/u/cbmurphy87)
#### Post date: [August 9, 2019, 3:28pm UTC](https://discuss.elastic.co/t/canvas-time-filter-24-hours/194643/1 "2019-08-09T15:28:12Z")

</div>

Is it possible to configure the time filter element to filter on a shorter period than 24 hours? Say, for example, 1 minute, or 15 minutes?

---

<div class="post-metadata">

### Author: ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)
#### Post date: [August 12, 2019, 7:55pm UTC](https://discuss.elastic.co/t/canvas-time-filter-24-hours/194643/2 "2019-08-12T19:55:29Z")

</div>

> [@cbmurphy87](#):
>
> Is it possible to configure the time filter element to filter on a shorter period than 24 hours? Say, for example, 1 minute, or 15 minutes?

Currently, there is no way to do this from the UI. If you want to change the code directly , You can add your own custom quick ranges to this array inHere [https://github.com/elastic/kibana/blob/d205f1e45606ea589db7174e5a05cfca4fc8f30c/x-pack/legacy/plugins/canvas/canvas\_plugin\_src/renderers/time\_filter/components/datetime\_quick\_list/datetime\_quick\_list.tsx#L25-L33](https://github.com/elastic/kibana/blob/d205f1e45606ea589db7174e5a05cfca4fc8f30c/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_quick_list/datetime_quick_list.tsx#L25-L33)

we have this issue here to make the time picker customizable in the advanced settings [[Canvas] Customizable time picker · Issue #33867 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/33867)

Thanks  
Rashmi

---

<div class="post-metadata">

### Author: ![cbmurphy87](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@cbmurphy87](https://discuss.elastic.co/u/cbmurphy87)
#### Post date: [August 12, 2019, 9:22pm UTC](https://discuss.elastic.co/t/canvas-time-filter-24-hours/194643/3 "2019-08-12T21:22:30Z")

</div>

Thanks, Rashmi. It looks like my files are arranged a little different, but I found that section in:

/usr/share/kibana/x-pack/legacy/plugins/canvas/canvas\_plugin\_src/renderers/time\_filter/components/time\_picker/time\_picker.js

I added the following entry:

{ from: 'now-15m', to: 'now', display: 'Last 15 minutes' }

I restart Kibana, but am not seeing the 15 minute time period. Is there a cache that I need to flush or something for the change to take effect?

Thanks,  
Collin

---

<div class="post-metadata">

### Author: ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)
#### Post date: [August 12, 2019, 10:04pm UTC](https://discuss.elastic.co/t/canvas-time-filter-24-hours/194643/4 "2019-08-12T22:04:27Z")

</div>

Tagging @Catherine_Liu - to shed more light here.

Thanks  
Rasmi

---

<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: [September 9, 2019, 10:18pm UTC](https://discuss.elastic.co/t/canvas-time-filter-24-hours/194643/5 "2019-09-09T22:18:05Z")

</div>

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