# Specify timeframe

**URL:** <https://discuss.elastic.co/t/specify-timeframe/97154>\
**Category:** Kibana\
**Tags:** elastic-stack-graph\
**Created:** [August 15, 2017, 10:13pm UTC](https://discuss.elastic.co/t/specify-timeframe/97154 "2017-08-15T22:13:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bondo](https://avatars.discourse-cdn.com/v4/letter/b/ad7895/32.png) [@Bondo](https://discuss.elastic.co/u/Bondo)\
**Post date:** [August 15, 2017, 10:13pm UTC](https://discuss.elastic.co/t/specify-timeframe/97154/1 "2017-08-15T22:13:08Z")

</div>

I don't see anywhere that I can specify a time frame (i.e. last 5 minutes) on the data I added to my Graph Work space. Is that not possible with the Graph component? Or can I specify the the time frame in my search after I select my index pattern and filters?

---

<div class="post-metadata">

**Author:** ![Mark\_Harwood](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_harwood/32/10538_2.png) [@Mark\_Harwood](https://discuss.elastic.co/u/Mark_Harwood)\
**Post date:** [September 1, 2017, 8:58am UTC](https://discuss.elastic.co/t/specify-timeframe/97154/2 "2017-09-01T08:58:06Z")

</div>

The Graph UI does not offer the ability to specify a time frame but the API can use any form of filter on the expansions.  
There is a workaround if you create a [filtered alias](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-aliases.html#filtered) with a time filter on it and then specify that as the choice of index pattern.

---

<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 29, 2017, 8:58am UTC](https://discuss.elastic.co/t/specify-timeframe/97154/3 "2017-09-29T08:58:12Z")

</div>

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